votes
votes
Draw simple graph on C# Windows Form
Hi all, I've been googling and experimenting with graph tools for a few hours now, but I can't find one that does what I want and doesn't look like crap. I need a simple (indeed, very simple) graph on my Windows Form to visually displ ...
votes
suggest a tutorial to learn creating Windows-service using C#
I tried searching with google, but couldn't get enough resources to learn Windows service. I am eager to learn it, so that I can control my desktop processes. [as like automatically stopping a particular process, when another particular pro ...
votes
Process.Start() ......
I'm using VS 2008 Express edition..... [code]string filename; private void button3_Click(object sender, EventArgs e) { Form3 f3 = (Form3)Application.OpenForms["Form3"]; ComboBox cb1 ...
votes
Getting a error when Opening excel sheet on C#
Hi..... I am using MS office 2003 and Visual studio 2008 .I have added a reference to Microsoft.Office.Interop.Excel 11.0 library . Added the following code: private void button1_Click(object sender, EventArgs e) { ...
votes
Serial Port connection
Anyone who can help me understand this would be much appreciated. I'm trying to connect to a Marconi 2945 to control it over the RS232 connection. I am trying to get my head around how to use the following data in the manual: The fol ...
votes
Problems with double conversion C#
Hi, i don't understand: [code]label1.Text = dsLog.Tables[3].Rows[i][0].ToString(); //Output: 1.00[/code] but when i want to cast to double [code]double sas_sas = double.Parse(dsLog.Tables[3].Rows[i][0].ToString()); label1.Text ...
votes
C# Database Connection String for Server
MySqlConnection myConn = new MySqlConnection("server=192.168.1.103;database=productcatalog;uid=root;password=12345678"); // where 192.168.1.103 is the PC's IP address. above code does not give me any problem. but when I have ...
votes
C#: Closing second form.
Hi, i'm trying to close a form after i finished an operation, like: [code] Form1 ----- Form2 f2 = new Form2(); f2.Show(); Form2 ----- (onButtonClick) this.Hide(); [/code] But when it is closed (after 3-4 seconds!!!! and ...
votes
need a code of C#
hi friends i am trying to add a help button to my program. i have added a button like this private void button9_Click(object sender, EventArgs e) { System.IO.FileInfo finfo = new System.IO.FileInfo(& ...
votes
How can I emit a call to a delegate whose type is unfinished at the time of the emit?
Hi everyone. I'm having trouble emitting a call to a delegate whose type is unfinished at the time of the emit. I'll elaborate: I'm trying to dynamically (i.e., with a [i]TypeBuilder[/i]) create the following class: [code] public MyClas ...
votes
Or comparision on strings.
I want to check whether a a person has entered "y" or "Y" on a console screen. I'm trying to use: string answer; do { Console.WriteLine("Please enter the actors name"); tempActorList.Add(Con ...
votes
Free FTP library for C#
Howdy...I would like to know if there is any free FTP library. I've been using ChilkatDotNet2 but sadly the trial period is over. Thank you.
votes
User Control
Hallo, I've been working on a c# e-commerce book, they've got a DepartmentList User Control and a Category UserControl both on the master page. When a Department is clicked the Category is only then displayed with the Departments Categories ...
votes
Saving Data from Related Data Tables (Hierarchical Update)
Hi Everyone, I am new to C#, kind of new to programming altogether. It is something I am really enjoy learning but I am a little stuck with hierarchical updates. I am using Visual Studio 2008 and SQL Express. I have been working on ...
