Click here to Skip to main content
15,916,462 members
Home / Discussions / C#
   

C#

 
GeneralRe: Impossible to programaticaly assign values to a binded datagridview Pin
baranils13-Mar-08 20:38
baranils13-Mar-08 20:38 
GeneralSerialPort Closes for no Reason Pin
jdajos13-Mar-08 11:18
jdajos13-Mar-08 11:18 
I'm trying to open a serial port and just leave it open while my whole program is running. I don't need to write to it, I have a relay that activates when the port opens. I can open the port and everything is always fine for a while until the port closes at different times. This powers down my test equipment and ruins my test.

Can anyone tell me why the port closes? This is what I Do:

SerialPort port = new SerialPort("COM4", 9600, Parity.None, 8, StopBits.One);
// Open the port for communications
port.Open();

It stays open for anywhere between 3 and 4 minutes.
QuestionRe: SerialPort Closes for no Reason Pin
Paw Jershauge13-Mar-08 12:47
Paw Jershauge13-Mar-08 12:47 
GeneralRe: SerialPort Closes for no Reason Pin
jdajos17-Mar-08 2:55
jdajos17-Mar-08 2:55 
GeneralRe: SerialPort Closes for no Reason Pin
Paw Jershauge18-Mar-08 11:50
Paw Jershauge18-Mar-08 11:50 
GeneralFile.GetCreationTime Pin
Christian Graus13-Mar-08 10:57
protectorChristian Graus13-Mar-08 10:57 
GeneralRe: File.GetCreationTime Pin
snorkie13-Mar-08 11:05
professionalsnorkie13-Mar-08 11:05 
GeneralRe: File.GetCreationTime Pin
Christian Graus13-Mar-08 11:09
protectorChristian Graus13-Mar-08 11:09 
GeneralRe: File.GetCreationTime Pin
snorkie13-Mar-08 11:17
professionalsnorkie13-Mar-08 11:17 
GeneralRe: File.GetCreationTime Pin
OR0N13-Mar-08 15:42
OR0N13-Mar-08 15:42 
GeneralRe: File.GetCreationTime Pin
N a v a n e e t h13-Mar-08 20:57
N a v a n e e t h13-Mar-08 20:57 
GeneralRe: File.GetCreationTime Pin
OR0N14-Mar-08 7:50
OR0N14-Mar-08 7:50 
Generalmultiple regression for crime forecasting Pin
hiraa13-Mar-08 10:41
hiraa13-Mar-08 10:41 
GeneralRe: multiple regression for crime forecasting Pin
Christian Graus13-Mar-08 10:50
protectorChristian Graus13-Mar-08 10:50 
GeneralRe: multiple regression for crime forecasting Pin
Mark Churchill13-Mar-08 11:53
Mark Churchill13-Mar-08 11:53 
GeneralRe: multiple regression for crime forecasting Pin
Alan Balkany13-Mar-08 10:54
Alan Balkany13-Mar-08 10:54 
GeneralRe: multiple regression for crime forecasting Pin
Alan Balkany13-Mar-08 10:56
Alan Balkany13-Mar-08 10:56 
QuestionConverting Ole Object(jpeg) into System.Drawing.Bitmap Problem [modified] Pin
cyberE-gor13-Mar-08 9:46
cyberE-gor13-Mar-08 9:46 
GeneralRe: Converting Ole Object(jpeg) into System.Drawing.Bitmap Problem Pin
Christian Graus13-Mar-08 9:53
protectorChristian Graus13-Mar-08 9:53 
GeneralRe: Converting Ole Object(jpeg) into System.Drawing.Bitmap Problem Pin
KaptinKrunch13-Mar-08 12:37
KaptinKrunch13-Mar-08 12:37 
GeneralRe: Converting Ole Object(jpeg) into System.Drawing.Bitmap Problem Pin
cyberE-gor13-Mar-08 13:01
cyberE-gor13-Mar-08 13:01 
GeneralRe: Converting Ole Object(jpeg) into System.Drawing.Bitmap Problem Pin
KaptinKrunch13-Mar-08 17:03
KaptinKrunch13-Mar-08 17:03 
GeneralRe: Converting Ole Object(jpeg) into System.Drawing.Bitmap Problem Pin
cyberE-gor14-Mar-08 5:40
cyberE-gor14-Mar-08 5:40 
Generalnull reference exception not set to create an object instance Pin
joynee13-Mar-08 9:02
joynee13-Mar-08 9:02 
GeneralRe: null reference exception not set to create an object instance Pin
led mike13-Mar-08 9:21
led mike13-Mar-08 9:21 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.