Jump to content

Check out our Community Blogs


Member Since 03 Jan 2010
Offline Last Active Jul 09 2010 10:42 PM

Posts I've Made

In Topic: Updating Database with Button_Click

15 June 2010 - 01:23 PM

Well if you want to modify the "SomeField" column name in your selected row it would be:

row.Cells["SomeField"].Value = "Pen-Laptop3";

As for writing to the database, are you getting the datagridview data source and uploading that or are you taking a row out of the datagrid and trying to upload that

In Topic: Stop program from crashing when it cant find IO (Serial Port...)

13 June 2010 - 02:01 PM

He said he used a try catch statement already and it didn't work. Make sure in your catch statement you are exiting out of the rest of the code that could possibly be run (But would crash due to the failure with the program).

Using a return; statement or something similar would do the trick.

In Topic: Taking input and sending it to another form?

13 June 2010 - 01:58 PM

If your looking to just transfer information between forms I did a video tutorial on it that hopefully will help you out.

How to transfer information between forms

In Topic: Update Everyday...

06 June 2010 - 03:18 PM

Just set the auto-updater to stop bothering you. I know that it seems to want to update it a lot but not every day. Perhaps it is not installing correctly in which case you might want to uninstall java and reinstall it through the installer on their website.

In Topic: Silent Install?

06 June 2010 - 03:16 PM

Make a regular C# application that does that, but don't let the main Form appear. Write your code in Program.cs, and delete Application.Run( new Form1()). If it returns some error just don't let it reach that line (if (2+2==5) Application.Run(new Form1());).

Thats not really what he is asking, he wants a program to fully install and run without any user interaction. The user would have to click on your application for your thing to work.

Frankly it sounds like what you are developing has potentially malicious uses. If it doesn't then I am sure having the user click a few extra buttons is not that bad.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download