Click here to Skip to main content
15,921,840 members
Home / Discussions / C#
   

C#

 
GeneralRe: MS SQL to Remote path Pin
Warren Machanik5-Sep-12 18:35
Warren Machanik5-Sep-12 18:35 
GeneralRe: MS SQL to Remote path Pin
Dave Kreskowiak5-Sep-12 19:17
mveDave Kreskowiak5-Sep-12 19:17 
AnswerRe: MS SQL to Remote path Pin
Bernhard Hiller5-Sep-12 21:29
Bernhard Hiller5-Sep-12 21:29 
AnswerRe: MS SQL to Remote path Pin
Warren Machanik6-Sep-12 0:41
Warren Machanik6-Sep-12 0:41 
Questiondebug console application Pin
dcof5-Sep-12 6:47
dcof5-Sep-12 6:47 
AnswerRe: debug console application Pin
Pete O'Hanlon5-Sep-12 6:58
mvePete O'Hanlon5-Sep-12 6:58 
GeneralRe: debug console application Pin
dcof5-Sep-12 7:58
dcof5-Sep-12 7:58 
GeneralRe: debug console application Pin
Pete O'Hanlon5-Sep-12 8:09
mvePete O'Hanlon5-Sep-12 8:09 
AnswerRe: debug console application Pin
Dave Kreskowiak5-Sep-12 7:32
mveDave Kreskowiak5-Sep-12 7:32 
GeneralRe: debug console application Pin
dcof5-Sep-12 8:02
dcof5-Sep-12 8:02 
GeneralRe: debug console application Pin
Dave Kreskowiak5-Sep-12 12:35
mveDave Kreskowiak5-Sep-12 12:35 
QuestionC# execute console application Pin
dcof5-Sep-12 5:39
dcof5-Sep-12 5:39 
AnswerRe: C# execute console application Pin
Eddy Vluggen5-Sep-12 5:54
professionalEddy Vluggen5-Sep-12 5:54 
AnswerRe: C# execute console application Pin
glennPattonWork35-Sep-12 5:59
professionalglennPattonWork35-Sep-12 5:59 
GeneralRe: C# execute console application Pin
Shameel5-Sep-12 6:27
professionalShameel5-Sep-12 6:27 
GeneralRe: C# execute console application Pin
glennPattonWork35-Sep-12 22:07
professionalglennPattonWork35-Sep-12 22:07 
AnswerRe: C# execute console application Pin
PIEBALDconsult5-Sep-12 6:06
mvePIEBALDconsult5-Sep-12 6:06 
GeneralRe: C# execute console application Pin
dcof5-Sep-12 7:52
dcof5-Sep-12 7:52 
GeneralRe: C# execute console application Pin
PIEBALDconsult5-Sep-12 8:20
mvePIEBALDconsult5-Sep-12 8:20 
AnswerRe: C# execute console application Pin
jschell5-Sep-12 11:38
jschell5-Sep-12 11:38 
QuestionSerial Port security? Pin
glennPattonWork35-Sep-12 5:34
professionalglennPattonWork35-Sep-12 5:34 
Hi All,
I am try to make a program user proof (though but...) I have now got it to find the device plugged in at initial run time, it runs fine on talking to one device, closes the comm port, changes the comm port, reopens the comm port. I am trying to do this by
C#
nameArray = SerialPort.GetPortNames();
         do
         {
             index += 1;
             cboPort.Items.Add(nameArray[index]);
         }
         while (!((nameArray[index] == myComPortName) || (index == nameArray.GetUpperBound(0))));

While this works fine on initial set up, it appears to work on subsequent runs but after the fourth or so run it comes up with an error mostly due I think to the fact that I am setting the serial port property with out touching the rest. <<test it="">> Well tried that did <> didn't work, I am now thinking I am trying to reassign a com port that is in use but I closed it so I should be able to??? Have I fallen foul of a security feature?
Glenn
Glenn
SuggestionRe: Serial Port security? Pin
Eddy Vluggen5-Sep-12 5:57
professionalEddy Vluggen5-Sep-12 5:57 
GeneralRe: Serial Port security? Pin
glennPattonWork35-Sep-12 6:03
professionalglennPattonWork35-Sep-12 6:03 
Questionextract form Pin
farhad34505-Sep-12 3:28
farhad34505-Sep-12 3:28 
AnswerRe: extract form Pin
Ravi Bhavnani5-Sep-12 3:36
professionalRavi Bhavnani5-Sep-12 3:36 

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.