Click here to Skip to main content
15,915,508 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerDo not cross post Pin
dan!sh 27-Oct-09 2:14
professional dan!sh 27-Oct-09 2:14 
AnswerRe: How to plug/unplug USB serial port programitically? Pin
freakyit27-Oct-09 2:17
freakyit27-Oct-09 2:17 
GeneralRe: How to plug/unplug USB serial port programitically? Pin
pallaka27-Oct-09 3:00
pallaka27-Oct-09 3:00 
GeneralRe: How to plug/unplug USB serial port programitically? Pin
EliottA27-Oct-09 3:02
EliottA27-Oct-09 3:02 
GeneralRe: How to plug/unplug USB serial port programitically? Pin
dan!sh 27-Oct-09 3:30
professional dan!sh 27-Oct-09 3:30 
GeneralRe: How to plug/unplug USB serial port programitically? Pin
freakyit27-Oct-09 3:37
freakyit27-Oct-09 3:37 
GeneralRe: How to plug/unplug USB serial port programitically? Pin
pallaka27-Oct-09 4:08
pallaka27-Oct-09 4:08 
GeneralRe: How to plug/unplug USB serial port programitically? Pin
DaveAuld27-Oct-09 4:27
professionalDaveAuld27-Oct-09 4:27 
If you kill the hardware, the classes relating to the serial comms have probably bombed, and your application itself is holding the serial port resource on one of its async threads. I have seen this while programming to a usb/serial device (resol solar controller). When you exit the application the lock is released and then when you start the app again all is fine.

You should check that when you kill the external hardware or pull the connection, the necessary exceptions are being caught and the serial connection is closed gracefully to ensure all resource locks are released.

Dave
Who am I?:
Web|Facebook|Twitter|LinkedIn|Bebo

GeneralRe: How to plug/unplug USB serial port programitically? Pin
freakyit27-Oct-09 4:57
freakyit27-Oct-09 4:57 
GeneralRe: How to plug/unplug USB serial port programitically? Pin
Luc Pattyn27-Oct-09 4:51
sitebuilderLuc Pattyn27-Oct-09 4:51 
QuestionPaper size in crystal report Pin
Vinodh.B27-Oct-09 0:51
professionalVinodh.B27-Oct-09 0:51 
AnswerRe: Paper size in crystal report Pin
Steven J Jowett27-Oct-09 10:28
Steven J Jowett27-Oct-09 10:28 
QuestionRemote connection in SqlServer with C# Pin
anishkannan26-Oct-09 22:01
anishkannan26-Oct-09 22:01 
AnswerRe: Remote connection in SqlServer with C# Pin
Ashfield26-Oct-09 22:16
Ashfield26-Oct-09 22:16 
AnswerRe: Remote connection in SqlServer with C# Pin
dan!sh 27-Oct-09 2:19
professional dan!sh 27-Oct-09 2:19 
QuestionRead email from exchange server Pin
nitin_ion26-Oct-09 21:53
nitin_ion26-Oct-09 21:53 
AnswerRe: Read email from exchange server Pin
Ashfield26-Oct-09 22:18
Ashfield26-Oct-09 22:18 
GeneralRe: Read email from exchange server Pin
Archimedes2428-Oct-09 0:55
professionalArchimedes2428-Oct-09 0:55 
GeneralRe: Read email from exchange server Pin
εїзεїзεїз15-Feb-10 1:45
εїзεїзεїз15-Feb-10 1:45 
GeneralRe: Read email from exchange server Pin
Ashfield15-Feb-10 3:15
Ashfield15-Feb-10 3:15 
QuestionReference to parent collection Pin
ausadmin26-Oct-09 19:27
ausadmin26-Oct-09 19:27 
AnswerRe: Reference to parent collection Pin
Dave Kreskowiak27-Oct-09 3:24
mveDave Kreskowiak27-Oct-09 3:24 
GeneralRe: Reference to parent collection Pin
ausadmin27-Oct-09 9:15
ausadmin27-Oct-09 9:15 
GeneralRe: Reference to parent collection Pin
Dave Kreskowiak27-Oct-09 10:47
mveDave Kreskowiak27-Oct-09 10:47 
Questionvb.net and plc Pin
stepdeb26-Oct-09 15:48
stepdeb26-Oct-09 15:48 

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.