8,298 Topics

Member Avatar for
Member Avatar for Streamx1

Please, help to organyze time out. I have a program which connects to another device by COM port. If device is disconnected and I try to connect this device, the time out exeption must be. Can anyone give me example of making time out here? [CODE] private void OnButton_Reading_Click(object sender, …

Member Avatar for nick.crane
0
397
Member Avatar for butt89

hi, i need some help in this regard of creating a software, that manages the attendance of students, by taking their thumb prints.

Member Avatar for Momerath
0
34
Member Avatar for wvuengr33

The program I am writing is supposed to read in a txt file and then align the txt depending on the number of characters per line that the user has specified. Since there aren't any limitations to the length of the text it has to be represented using a dynamic …

Member Avatar for wvuengr33
0
504
Member Avatar for Dark_Omen

Hello, I am trying to read this xml file. But whenever I get to the load part of it, it gives me this error: "[size=1][size=2]The data at the root level is invalid. Line 1, position 1"[/size] [/size] [size=1][size=2]This is the code I am working with:[/size][/size] [size=1][size=2][code][/size][/size] [size=1][size=2][color=#0000ff]public[/color][/size][size=2][color=#0000ff]static[/color][/size][size=2] Response Message([/size][size=2][color=#0000ff]string[/color][/size][size=2] doc)[/size][/size] …

Member Avatar for bbauraj
0
634
Member Avatar for Isimanica

Simply put I have an array of Data that is a total of 40 numbers that are between 1 and 9. I know how to make a function display and calculate just the frequency of the array. I know how to create a histogram based upon data from the array …

0
56
Member Avatar for mjoshi

Hello, I am having trouble with a simple math operation after reading from a file. If a particular condition is met, i am copying a number(7 positions), starting from position 31. My aim is to sum all these numbers when the condition is met. I am testing the code on …

Member Avatar for r.stiltskin
0
186
Member Avatar for Annettest

Hello all, I have what is probably a silly question... I want to fill a 2-dimensional array called instantAct with values from another 2-d array called mS. The two arrays have different dimensions, but they have the same number of values. I want my loop to take values from certain …

Member Avatar for chief427
0
771
Member Avatar for pranaya.guduru

im doing a project oon e quiz management using c#.I urgently need code for selecting the answer of a question with multiple choice.and also I need code for incrementing the score when each question is selected.Please help me out.I have project submission day after tomorrow.

Member Avatar for agrothe
0
65
Member Avatar for rramyaasmi

[CODE]i have problem in running c++ program.iam getting more errors .can u help me to run it.[/CODE]

Member Avatar for rramyaasmi
0
243
Member Avatar for vijaykrishnabor
Member Avatar for omarelmasry

I am currently working on a C# project that contains UDP and TCP connections, and outputs to a serial port,... etc... So I was thinking ... How hard is it to take a C# program and convert it somehow to be embedded on a circuit board? ... i.e: replacing the …

Member Avatar for omarelmasry
0
225
Member Avatar for canadiancoder

Hello folks, I've got a conundrum that Google was unable to fix, so here's hoping someone here knows how. I've got an application and a Delphi DLL and now what I need to do is write a C# DLL which exposes a number of functions the Delphi DLL will use. …

Member Avatar for canadiancoder
0
222
Member Avatar for mfaisalhayat

[url]http://www.daniweb.com/forums/attachment.php?attachmentid=17710&d=1287740073[/url] Let me know how much it help you in getting started.

Member Avatar for Momerath
0
41
Member Avatar for snehalj

[code] string s = TextBox1.Text; string[] s1 = s.Split(new char[] { "&" }); Console.WriteLine(s1[0]); Console.WriteLine(s1[1]); [/code] above code giving me error as 'Cannot implicitly convert type 'string' to 'char' ' pls give me solition.

Member Avatar for raj_developer
0
57
Member Avatar for vbgrad

I need to use arrays, insertion sort algorthm to come up with a program tht will sort 3 employees salaries in an ascending order after user has inputed data..thus EMPLOYEE1:20000 EMPLOYEE2:15000 EMPLOYEE3:10000 CAN SOMEONE HELP WITHE THE FUNCTION TO MAKE MY PROGRAM DO THAT PLEASE!

Member Avatar for stevanity
0
172
Member Avatar for Dha...1

I'm planning to buy a few books for C++. I want to learn C++ at it's deepest. You may say, I want to be C++ program developer. I'm currently having C++ in my study courses too. Which are recommended books? This thread has a huge list of books. Don't think …

Member Avatar for rsravi74
0
156
Member Avatar for a-hall

I need to put the names entered by the user in alphabetical order. What are my variables to declare? Im wanting to use something like this in my code but do not know what my array is or anything. selection_sort(arr1, arrSize); [CODE]using namespace std; int main () { string temp; …

Member Avatar for stevanity
0
131
Member Avatar for NagaSravan514

hi.. How can we add list of items to Combo box which are in DB(SQL SERVER). is it necessary to write a STORED PROCEDURE

Member Avatar for NagaSravan514
0
36
Member Avatar for sonjeriff

Hi! I'm new this semester to C++ and it is a little difficult for me. Our class has a project where we need to implement functions. While I got the very first one right, I'm not sure what to do about the others that are similar to it. Can anyone …

Member Avatar for cmccaig
0
190
Member Avatar for braveheart_sb

i'm running C# on a windows application and found a problem. I'm unable to Check if a row from my data grid contains a null value, because im populating the rows for the datagrid from a CSV file and after that i need to populate that csv file into my …

Member Avatar for hyperion
0
102
Member Avatar for Roflcoptr

Hi together, Is there any library/framework for C# you would recommend to use in combination with an MS Surface application that allows to calculated a lot of different metrics from source code? It does not have to be the source code of the actual application, it is enough if it …

0
43
Member Avatar for arshadziard

Hi There, I'm new to C#. However, my task is 2 read a textfile and store the data in database. But, when reading, i only need 2 read the 1st 2 element of each line leaving the header. Reading the whole line and storing it in database is possible. Bt …

Member Avatar for Momerath
0
189
Member Avatar for BoarderX

I have been following this tutorial ([URL=http://msdn2.microsoft.com/en-us/library/ms233763(vs.80).aspx]http://msdn2.microsoft.com/en-us/library/ms233763(vs.80).aspx[/URL] ) and so far everything has gone well. I am running Visual Studio 2005 and SQL Server 2005. I can run queries just fine. However, when I try to update (insert a new row), my Customers table in my SampleDatabaseDataSet will not commit …

Member Avatar for ericklan
0
823
Member Avatar for CeeY

I am new to C++ and would like to know the best way to setup a 2D game engine. All of the graphic files that I am using for this game are in .png format. How do I use SDL with my game engine, and where do I start when …

Member Avatar for _Nestor
-1
138
Member Avatar for IT_Techno

hi ineed helpe if any one have agood Tutorial to create C# dynamic Module in DNN 4.8.2 please helpe me. May Thanks IT_Techno

Member Avatar for abdul.excel.bas
0
79
Member Avatar for nickx522

I cant round up minutes and switch them to hours?...for example if a car was parked for 241 minutes(input has to be in minutes) and rate was $2/hour and first 120 minutes were free i would need to charge for 5h and i dont know how to round up right …

Member Avatar for nickx522
0
164
Member Avatar for mashimaro

Hello, I need some help from you guys - thing is: I've got a text file with numbers, it looks like this: X, Y, Z. X and Y are float type, the Y is an integer. The file has many lines. How do I load that file, seperating X and …

Member Avatar for Ketsuekiame
0
209
Member Avatar for samacoba

hi all,I was wondering if someone could help me, i need to retrieve DataBase aliases from BDE using C#(Windows), what ive done is so far is to manage to read the file path below from Binary to string and display it on my console application(From here i can see all …

0
68
Member Avatar for sg79

Hello, can someone help me write this C++ program: An array can be used to store large integers one digit at a time. For example, the integer 1234 could be stored in the array a by setting a[0] to 11, a[1] to 2, a[2] to 3, and a[3] to 4. …

Member Avatar for Intrade
0
277
Member Avatar for jamal.yaqub

I want to execute a command to query DHCP Server. For that purpose I have written some code in perl. Now when I execute that perl file in command prompt using c# I get following errer "The specified executable is not a valid Win32 application." I have pasted the code …

Member Avatar for =OTS=G-Man
0
229
Member Avatar for pranav.falcon

Hi all, Can any one tell me how to copy the data from excel file to powerpoint Slides. I want to export the data as it is...and want the exported data to be [B]TABULATED[/B]. If there are multiple sheets in the excel file then automatically the same number of slides …

0
57
Member Avatar for anthonyjpv

I am working with multiple forms in C#. My startup Form /or/ Parent Form /or/ Form1 is a login form. on my Form1, I have a textbox1 for username and textbox2 for password and a buttons for submit and cancel. on click event of submit button,if textbox1.text && textbox2.text are …

Member Avatar for sumran ali
0
204
Member Avatar for rogue005

I need ideas for a C++ [COLOR="Red"]mini [/COLOR]project. It should be complex enough to involve 4 students.

Member Avatar for alibabashaun
-1
682
Member Avatar for requimrar

Hi, I'm new to this forum and would like to ask a question relating to C#. I am trying to make my custom OS, and shutting it down, but I am encountering a problem. Here is what I have so far: [CODE]using System; using Cosmos.Compiler.Builder; namespace CosmosBoot1 { class Program …

Member Avatar for JoshuaBowden
0
396
Member Avatar for andimiami

How do I write this C++ sentinel-controlled while loop? I need to write a sentinel-controlled while loop to see if the coefficients of a quadratic equation have real roots using a nested decision. A character q must be my sentinel. This is what I have so far, but it doesn't …

Member Avatar for Ancient Dragon
0
732
Member Avatar for tln26

I am trying to get the numbers in the array to give me a average out put. here is what I have so for: [COLOR=#0000ff][/COLOR] [CODE] #include "stdafx.h" #include <iostream> #include <cctype> using std::cout; using std::cin; using std::endl; int main() { int grade[10]; int count = 0; char reply = …

Member Avatar for hits86
0
380
Member Avatar for devesh2222

how can i write code in c that the two programs are run one after another whithout the use of threads.

Member Avatar for myk45
0
83
Member Avatar for centerline00

Why is it, when I compile this, the cout statement runs twice at first? It does not do that when I have the rest of the code in there that is int. Any thoughts of why or what I am doing wrong.. #include <iostream> #include <string> using namespace std; int …

Member Avatar for gerard4143
0
132
Member Avatar for krosty4782

Hi all. Im having a problem with my project. I need that my socket recive multiple conections from differents pcs. Example: I have my socket, it is listening, when a pc connect to its, it stop listen, so there come the second computer trying to connect, and this computer cant …

Member Avatar for krosty4782
0
179
Member Avatar for ginn69

write a program which prompts the user to enter an integer whose value is more than 3. Based on inputed number, the program outputs a rectanglar textual shape using digits.(see below). sample run enter n: 5 ***** * * * * * * ***** can explain detail like write down …

Member Avatar for jonsca
0
71
Member Avatar for devesh2222
Member Avatar for EarendurRingern

im making a program that loads a collection of strings from a file. then the user need to search the keyword using a binarysearch, but im using strings in my program, how to make the program using array of characters? here's my code, thx before :) [code] #include <iostream> #include …

Member Avatar for Ancient Dragon
0
3K
Member Avatar for vt2009

Tryin to finish some C# tutorial examples, I write VB and some procedural proprietary languages at work and must learn C#. I am having trouble with OOP and syntax: Why does the writeline command return no values? My struct contains the method and variables I want passed to the Main …

Member Avatar for manugm_1987
0
188
Member Avatar for tKc

I need help in reading a text file and by using a switch statement the user can either press 1 to find the average of all the integers in the text file, and by pressing 2 they find only the averages of the real numbers in said file. This is …

Member Avatar for NathanOliver
0
333
Member Avatar for ShinyDean

Hey there im doing a simple two up dos program for an assignment and im having some issues, we have been given a skeleton with methods and forms within it and im pretty sure were not allowed to change it. heres my code: [code] class TwoUp { Coin coin1 = …

Member Avatar for ShinyDean
0
2K
Member Avatar for Christ1m

I have this following code. It runs. Im trying to implement remove, sort, and find functions in to this program but I do not know how to. I need some ideas. Find - User inputs the song title. If it finds the song title, it will displays the given info …

Member Avatar for Ancient Dragon
0
93
Member Avatar for yapkm01

This seems to be weird: [code] int main(int argc, char* argv[]) { cout << "function main() .." << '\n'; char ch = 0; double number_value=1.1; cin >> ch; cin.putback(ch); cin >> number_value; cout << "1 .. " << " " << cin.good() << " " << number_value << '\n'; cin …

Member Avatar for Apple4
0
146
Member Avatar for sjn21682

hi everyone!!! need help here, how can i pass a string to a class? i have two forms and a class, my 1st form is the main form and the other form is used for assigning to a keyer, this form has a combobox where i will select the keyer …

Member Avatar for destruct0
0
1K
Member Avatar for ameenu
Member Avatar for RobBobSmith

Hello all: I would appreciate some advice on array subscripts. I am having problems passing 2-D arrays to functions I have written. The reason is that some of the arrays are dynamic arrays subscripted as array[i][j], whereas some of them were created in a class I wrote and these are …

Member Avatar for RobBobSmith
0
138

The End.