8,298 Topics
![]() | |
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, … | |
hi, i need some help in this regard of creating a software, that manages the attendance of students, by taking their thumb prints. | |
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 … | |
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] … | |
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 … | |
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 … ![]() | |
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 … | |
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. | |
[CODE]i have problem in running c++ program.iam getting more errors .can u help me to run it.[/CODE] | |
| |
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 … | |
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. … | |
[url]http://www.daniweb.com/forums/attachment.php?attachmentid=17710&d=1287740073[/url] Let me know how much it help you in getting started. | |
[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. | |
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! | |
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 … | |
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; … | |
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 | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 | |
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 … | |
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 … | |
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 … | |
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. … | |
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 … | |
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 … | |
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 … | |
I need ideas for a C++ [COLOR="Red"]mini [/COLOR]project. It should be complex enough to involve 4 students. | |
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 … | |
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 … | |
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 = … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 = … | |
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 … | |
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 … | |
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 … | |
how to implement message box in web application using c# | |
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 … |
The End.