132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Hatem_1

how to make a reading operation with this writing textfile solution, please? Textbox[]tbs = { textBox1, textBox2, textBox3, textBox4, textBox5 }; // add all of them in here StringBuilder sb = new StringBuilder(); foreach(TextBox tb in tbs) sb.AppendLine(tb.Text); System.IO.File.WriteAllText(@"C:\myFile.txt", sb.ToString());

Software Development
Member Avatar for Hatem_1
0
161
Member Avatar for hellocsprogram

Hi I am wondering how you would create a program for the knight tour instead of using recursion using a stack. I just want the ideal behind using a stack/queue instead of recursion please no code:)

Software Development c++ queue
Member Avatar for StuXYZ
0
661
Member Avatar for OMER AHMED

hi all how to make a trial version of application with progress bar showing 10 days left in vb.net

Software Development vb.net
Member Avatar for §AE§
0
316
Member Avatar for Papa_Don

Group, Today I learned with `Me.Cursor = Cursors.WaitCursor` and `Me.Cursor = Cursors.Default` do. I've seen other programs, when running, a "message box" comes up and let's the user know what in the routine is happening. If it's possible to do in VB.net, I'd like to do the same thing. However …

Software Development vb.net
Member Avatar for §AE§
0
3K
Member Avatar for DS9596

How would I fix something like this: It is without the is a vowel or is not a vowel, still doesn't work but how do I fix it? This is what it Today Is Thr Jan, 2015 Enter a sentence: #include <iostream> #include <iomanip> #include <string> using namespace std; int …

Software Development c++
Member Avatar for DS9596
0
415
Member Avatar for sam ss
0
85
Member Avatar for servent123

Hi there ! I have xml and xsl files i need to convert them to xslfo files . I need this to convert to pdf files. Thanks.

Software Development pdf xml
Member Avatar for servent123
0
411
Member Avatar for java786

A freight train has n railroad cars, each of which is going to be left at a di erent station. Assume that the stations are numbered 0 through n

Software Development java
Member Avatar for stultuske
0
743
Member Avatar for divinity02

hi all how can I make this program to work? it is loopinging and this is wher it stop,it is no reading anything else where have i gone wrong here is the code and the output char F, f, H, h, C, c; double hrswrked, grosspay = 0, netpay, payrate, …

Software Development java
Member Avatar for stultuske
0
238
Member Avatar for Ed_4

theres a couple things wrong with this and i have no clue where to start. like the title says it has to be a really simple mortgage calculator, no gui or any other inputs. not yet atleast. my prof messaged me back saying i need "1. import goes before public …

Software Development gui java
Member Avatar for stultuske
0
244
Member Avatar for Tcll

First off, I know this question doesn't exactly belong here... I'm asking here because this is the lowest common ground between binary opcodes and: # python 2.7 class A(object): def __init__(this): print 'I am initialized!' instance = A() my question is, what's the equivelant of that in either PPC or …

Software Development assembly open-source
Member Avatar for Tcll
0
416
Member Avatar for theBigB

Hey everyone: i have a project to do in assembly(8086) and i want to do a simple anti-virus. The idea is that you will write the path (url) to a document that you want to scan. The program will scan it and will compare it to a known viruses. can …

Software Development assembly
Member Avatar for theBigB
0
553
Member Avatar for aundriaah

Hello!!! I am trying to get my program to run in Visual Studio 2012, but it won't. I keep receiving errors on my brackets, such as missing function header or 'expected a declaration'. I knew they were messed up from the start, but I just can't seem to get it …

Software Development c visual-studio
Member Avatar for rubberman
0
302
Member Avatar for tnd2491

Hello All, How can i filter the logs from a particular server and display that using a C++ code. I have logs coming from multiple server and i want to display logs from only one server. How to do that ?? How should i apply filter in c++, with a …

Software Development c++
Member Avatar for L7Sqr
0
197
Member Avatar for steven.rose.94

Good Day:) I'm trying to figure out how to remove the % sign that is returned from scraping Yahoo Finance **without** removing the decimal point (or a possible negative sign in front of number returned as netProfit). My goal is to convert the string without the % sign a float …

Software Development finance operating-system python
Member Avatar for Slavi
0
2K
Member Avatar for Builder_1

kindly someone to tell me one advantage of a stack backed by a dynamic array over a stack backed by a linked list and one advantage of a stack backed by a linked list over a stack backed by a dynamic array...

Software Development c++ linked-list
Member Avatar for iamthwee
0
164
Member Avatar for MustafaScript
Member Avatar for vegaseat
0
224
Member Avatar for jez9

when i run my system in .exe file i got error[unhandled exception has occurred in your application] , i used this code Public Class Form1 Declare Function Wow64DisableWow64FsRedirection Lib "kernel32" (ByRef oldvalue As Long) As Boolean Declare Function Wow64EnableWow64FsRedirection Lib "kernel32" (ByRef oldvalue As Long) As Boolean Private osk As …

Software Development vb.net
Member Avatar for jez9
0
361
Member Avatar for riyamanavalan@g

any one please help me to do encryption and decryption using a secretkey in c#.

Software Development encryption
Member Avatar for Majida_Omari
0
176
Member Avatar for zandiago

Good day: My infile contains the following: [CODE] U Apple Pie 1.29 A Bacon Burger 3.45 V Burrito 2.09 S Cheeseburger, Double 3.59 W Cheeseburger, Regular 2.95 Y Chicken Nuggets 1.87 H Chicken Sandwich 3.33 C Chili, Bowl 2.12 X Chili Dog 2.29 N Chocolate Milk 0.98 D Coffee 1.09 …

Software Development apple c c# c++ printer
Member Avatar for NathanOliver
0
9K
Member Avatar for Niloofar24

Hi. How can i open a mp3 file and play it in python? There is a mp3 file on my Linux desktop and i want to open it from a python file and play it. What should i do?

Software Development python
Member Avatar for Niloofar24
0
30K
Member Avatar for brandon66

Alright can you guys tell me why the first call to printOcean prints out the memory address of the arrays rows/cols and the second one prints like its suppossed to with 0's which the array is filled with #include <stdio.h> #include <string.h> //macro #define FLUSH_STDIN(x) {if(x[strlen(x)-1]!='\n'){do fgets(Junk,16,stdin);while(Junk[strlen(Junk)-1]!='\n');}else x[strlen(x)-1]='\0';} //define constants …

Software Development c
Member Avatar for brandon66
0
200
Member Avatar for muhammad_74

Hi, I have ubuntu installed on my pc with openjdk 8 but as i want to lern java ho can i create programs by openjdk or which is the place to write the coding. Plz suggest me with easy words Thanks,uxama

Software Development java ubuntu
Member Avatar for muhammad_74
0
355
Member Avatar for OMER AHMED

Dim Mail As New MailMessage Mail.Subject = "" Mail.To.Add("") Mail.From = New MailAddress("") Mail.Body = textbox1.text " How i can add 5 textboxes in body " Dim SMTP1 As New SmtpClient("smtp-mail.outlook.com") SMTP1.EnableSsl = True SMTP1.Credentials = New System.Net.NetworkCredential("mail@mail.com", "password") SMTP1.Port = "587" SMTP1.Send(Mail) How i can add 5 textboxes in …

Software Development email vb.net
Member Avatar for OMER AHMED
0
185
Member Avatar for sumas

Hello , I am new at programming, and I need help with a simple VB.NET application I'm working on. The trouble I'm having is, I need to populate a combobox with all the table names from one specific database, so that the user can select which database table to work …

Software Development vb.net
Member Avatar for djjeavons
0
2K
Member Avatar for BenWard

Hello, I thread hijacked earlier today... probably shouldn't have, sorry if that annoyed anyone. Anyway I have an issue using LookupAccountSid in a visual studio 2013 project running on Windows 7 Pro x64. First of all, it works perfectly in debug, but doesn't work when built for release. What I …

Member Avatar for BenWard
0
1K
Member Avatar for M.I.Sahil

AOA, I m using VB6 as front end and MS ACCESS 2010 as Database (DAO recordset) , I have created some Parametric queries in Access and also created some Crystal reports based on those queries, all this work find in designe mode, but when i compile the project and make …

Software Development visual-basic
Member Avatar for M.I.Sahil
0
454
Member Avatar for Builder_1

if i were asked a secret question between 1 and 1 billion by asking yes/no question of the form "is the number less than X? " what algo should i use to efficiently find the secret number? using the algo what will be the minimum number of questions if asked …

Software Development algorithm c++
Member Avatar for SalmiSoft
0
133
Member Avatar for amc2244

**Here is what I am trying to accomplish with Java:** A simple guessing game asks the player to guess a number between 1 and 50. Hints are returned depending on how far from the number the guess is. Add other methods for playing the game omitted--you need not supply any …

Software Development java
Member Avatar for Sugmuffen
0
631
Member Avatar for Indianblues

Hi , I want to add a new item to combibox at runtime. Actually in my form i am having a textbox,combobox and a button. After entering item name in textbox and then clicking on button, the new item has to added to the combobox items list. Thanks in advance

Software Development
Member Avatar for Shubhamrs8055
0
1K
Member Avatar for johans22

Got an array 350x550 of type integer. There are groups of connected or single elements with value 7 in some areas of the array. I need a c or c++ code that identifies each group or element and returns each group's total element(s) plus location of each element in the …

Software Development c++
Member Avatar for johans22
0
209
Member Avatar for AmrMohammed

Greetings, I'm creating a barcode application and when I google to know about barcode I found something that I did not understand and it is the odd left, even left and right digits for example the EAN-13 barcode includes the following OddLeft = new String[] { "0001101", "0011001", "0010011", "0111101", …

Software Development
Member Avatar for AmrMohammed
0
128
Member Avatar for edzel joh

i am a student college ,we have a project that covers the inventory and pos i need help for giving me some advise to create this project using vb.net and ms acces

Software Development visual-basic
Member Avatar for Reverend Jim
0
339
Member Avatar for ddanbe

I'm a great fan of extensions in C#. See also this previous [snippet](https://www.daniweb.com/software-development/csharp/code/467292/squaring-an-integer-with-extensions). Extensions are really simple to use. Start with adding a static class containing static methods. Note the special use of the keyword `this` in the Times extension method. The next code snip is how you could use …

Software Development
Member Avatar for kplcjl
0
385
Member Avatar for altjen

Hey everyone here. I want to start this topic by saying Thanks to Shark 1 who helped me with my previous code. I need some help. Searching on google was not useful. I need to create new Microsoft Access file located at this folder "C:\ProgramData\MyNewSoftwareFile" Is it possible to put …

Software Development microsoft-access vb.net
Member Avatar for Mr.M
0
302
Member Avatar for PM312

I have below code to print richtextbox text. My textbox contains Regular and bold text but below code print either bold or reguler text. How can i print text as it is in the text box. Private Sub PrintToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles PrintToolStripMenuItem.Click If PrintDialog1.ShowDialog() …

Software Development vb.net
Member Avatar for PM312
0
1K
Member Avatar for davies.alex1_1

Am using the `Luxand Library` for my face detection and recognition android project I got the FSDK library and documentation [here][1] but when i try to Match two face templates as will be shown in my codes it gives me an error code -4 which is an INVALID ARGUMENT error, …

Software Development android
0
127
Member Avatar for ztdep

Dear friends: i define a function "funtion1", i put the declaration in the "funtion1.h" #ifndef FUNTION1_H_INCLUDED #define FUNTION1_H_INCLUDED #include <stdio.h> #include <stdlib.h> double funtion1(double ,double ); #endif // FUNTION1_H_INCLUDED and write the function body in the file "funtion1.c" The following is my main file, but when i compile it in …

Software Development c++
Member Avatar for mike_2000_17
0
150
Member Avatar for Sarkurd

I have some confusion about Copy Constructor. Why this program crashes if we remove Copy Constructor `MyString`? #include <iostream> #include <cstring> using namespace std; class MyString { private: char* Buffer; public: // constructor MyString(const char* InitialInput) { cout << "Default constructor: creating new MyString" << endl; if(InitialInput != NULL) { …

Software Development c++
Member Avatar for Sarkurd
0
296
Member Avatar for divinity02

char F, f, H, h, C, c; double hours_worked, grosspay, netpay, rateof_pay, total_deduction, deduction, overtime, extra_time; double comm_incent, fixedsalary = 0, taxfree_allow, totalgross_pay, totalnetpay, totalsales = 0; String empfirst_name, emplast_name, hourlypaid_workers, payroll_report, payroll_payslip, process_workers, monthlyfixed_workers; String commiss_workers; int taxes, emp_idnum, highest, lowest,highestpaid_workers, lowestpaid_workers, highestvalue_workers, lowestvalue_workers; char inputChar = 0, Char; …

Software Development java
Member Avatar for divinity02
0
125
Member Avatar for Niloofar24

Hi everybody. I have problem with .pack() and .grid(). I have to use this line: mywin.pack(fill=BOTH, expand=YES) I have used .grid every where on my file but now here i have copied a pice of code from some where and have pasted to my file, as you see it has …

Software Development python tkinter
Member Avatar for vegaseat
0
4K
Member Avatar for Niloofar24

Hello. When we want to insert a vlue into a table in sqlite, we use this line, right? cursor.execute('INSERT INTO colors Values ("red", "blue")') As we can see above, we want to insert 2 words and we type them as when we are typing whole the codes. But i want …

Software Development python sqlite tkinter
Member Avatar for vegaseat
0
5K
Member Avatar for jez9

Hi again, i want to use on sceen keyboard when i want to click/touch a textbox, i tried to do a keyboard in vb.net but it can only focus on one form only. Can you give any idea how can i use on screen keyboard or how can i focus …

Software Development vb.net
Member Avatar for Reverend Jim
0
9K
Member Avatar for LATCH808

so i tried sorting arr2 from lowest to highest value, but it only gives me 4 values and then the rest are zero. Any thoughts on how to fix this? #include <iostream> #include <iomanip> using namespace std; int main() { cout << fixed << setprecision(1); float userMin; float userMax; const …

Software Development c++
Member Avatar for richieking
0
141
Member Avatar for koleanu

Hi, I am having a C++ application. It works fine when I run it in Debug mode, and debugs the code. But when I execute it in comand line mode I get an Unhandled exception. Unhandled exception at 0x77012016 in test.exe: 0xC0000005: Access violation reading location 0x6cfd018d. [CODE] LPTSTR getFileDetails(LPTSTR …

Software Development c++
Member Avatar for BenWard
0
409
Member Avatar for it@61@sec

I have a C++ program with a main routine which reads arguments from command line: int main(int argc, const char *argv[]) In my system I have defined some aliases in my bash environment which abbreviates directory names. Example: alias dst='home/username/Documents/test' alias src='home/username/Download/test' My program is called "dircopy" and I want …

Software Development c++
Member Avatar for it@61@sec
0
314
Member Avatar for syedarslanrizvi_1

A programmer has no control over data submitted as input to his/her program but does have control over the format of output display. Explain, with brief coding examples, how the precise positioning of data output is possible on the screen for different types of data. State the language and version …

Software Development c c# c++
Member Avatar for syedarslanrizvi_1
0
235
Member Avatar for null_pointer

I have been working on role based access control in cloud for which I have coded some java programs. I would like to upload and run those java programs on a real-time cloud. I have no idea about uploading a "file" onto the cloud although i have a decent knowledge …

Software Development java ubuntu
Member Avatar for Slavi
0
510
Member Avatar for jez9

Hi again, I'm having a trouble in updating an item from listview to database I try this code , but it says syntax error in Update nod=name of dish , qty = quantity TBLORDERS - nod[text], qty[text], price[text] lvorder - qty , [subitems] - name of dish, price Dim sql …

Software Development listview vb.net
Member Avatar for jez9
0
1K
Member Avatar for subone

Hi How can I get the maximum digit from a number entered by the user? Example: if user inputs: 1521, the program should output 5 as maximum. Any help please? NOTE: I want it to be made using 2 methods. AND don't give me answers with arrays. :) This is …

Software Development java
Member Avatar for JamesCherrill
0
11K

The End.