Click here to Skip to main content
15,895,142 members
Home / Discussions / C#
   

C#

 
GeneralConditionally loading global variables Pin
Glen Harvy13-Mar-08 15:25
Glen Harvy13-Mar-08 15:25 
GeneralRe: Conditionally loading global variables Pin
Christian Graus13-Mar-08 16:12
protectorChristian Graus13-Mar-08 16:12 
GeneralImpossible to programaticaly assign values to a binded datagridview Pin
baranils13-Mar-08 11:55
baranils13-Mar-08 11:55 
GeneralRe: Impossible to programaticaly assign values to a binded datagridview Pin
Christian Graus13-Mar-08 12:14
protectorChristian Graus13-Mar-08 12:14 
GeneralRe: Impossible to programaticaly assign values to a binded datagridview Pin
baranils13-Mar-08 12:22
baranils13-Mar-08 12:22 
GeneralRe: Impossible to programaticaly assign values to a binded datagridview Pin
Christian Graus13-Mar-08 12:39
protectorChristian Graus13-Mar-08 12:39 
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 

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.