votes
Dealing with text files in C#
Hello, Am writing a programme that is getting the contents of a text file one by one by use of a for loop. as can be seen below. [code] for (int i = 0; i < FileName.Length; i++) { ...
blah blah blah is here! blah blah » Close
Hello, Am writing a programme that is getting the contents of a text file one by one by use of a for loop. as can be seen below. [code] for (int i = 0; i < FileName.Length; i++) { ...
Dear ALL, I have created an event where I am calling a method to access the hardware and also sending a command to jog the machine. When this button is clicked the event is triggered and the motors connected to that hardware moves with the ...
Hi, I am in desparate need here. I need a timer method that will sit globally at form level and hold everything (except one com) to look for replys from a device. I have tried to use a Windows form timer (with out much success) and Threa ...
How can i show all the available language of system in a drop down(like in Control Panel->Regional and Language, Regional tab option has a drop down that displays all the language) ? Thanks.
hi i have one requirment in my page iam having dropdownlist,gridview.gridview is filled based on the selectedvalue of dropdown,when i select one value(assume 10) in dropdown some values comes into gridview,when i select same value from dr ...
Hi, I have a c++ dll having one structure as follows //*************************// typedef unsigned int NodeID; struct inputNode { NodeID id; BOOLEAN isExit; }; //************************// And here is a method as below / ...
I was trying to create a custom messageBox, I'm able to get the code working to display the icon, but I'm not able to get the Form displayed near the Right side of the Clock in the taskbar. How should I show the form (form name: <span s ...
Hi all, I am trying to insert data from C# to mysql database using stored procedures. During execution, I am getting this error: Unable to cast object of type 'System.Int32[]' to type 'System.IConvertible' The code I am trying to run is ...
Hello, I'm working on Windows application i have form1 which contain data gridview to view the content of table from sql database. i've enabled edit, delete in the gridview, but after editing or deleting any row of that table, close the ...
^ Also is there a way to change the carat from like this | to this _?
Hi, I have made a class called Globals. I am declaring few variables to use them throughout my solution. Following is the class: public class Globals { public static PCOMMSERVERLib.PDeviceClass Turbo; p ...
Hey I wish to show some messagebox based on the selected item in a combo box usinf if statements, how can i do this? Thanks Muhu
i have a static class it has some boolean values that i can get outside the class but there is also one string value that i cannot access outside the calss i'm using the same definition method to all here is my code: the static class: ...
I have this little code I wrote: using System; using System.Windows.Forms; using System.IO.Ports; namespace serialport { public partial class Form1 : Form { private SerialPort port = new SerialPort("COM3" ...
i'm making an mp3 player, and i've got a way to make the timer keep time, and a slider to tick at the same time. i'm doing this: 1. get the length of the mp3, set the maxvalue of it to the slider. 2. start the dispatchertimer to update ...
Got feedack? Found a bug? report it here.