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

Visual Basic

 
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 
GeneralRe: How to plug/unplug USB serial port programitically? Pin
freakyit27-Oct-09 4:57
freakyit27-Oct-09 4:57 
The problem is that the stream in the SerialPort class will not be closed if the external hardware will be removed. this is an bug in the framework. to prevent this behaviour the solution is to rewrite a serial port class using unmanaged code or to kill the application like daveauld described above..

serial port communication was not designed to work during the hardware will be removed. in ealy cases this was not possible because the COM was an integrated hardware in the pc not an usb plugalbe device.

i had the same problem and sovled it by rewriting the serial port (internal catching read/write errors and than closing and reopening the filestream on COM).

bless Smile | :)
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 
AnswerRe: vb.net and plc Pin
Luc Pattyn26-Oct-09 15:58
sitebuilderLuc Pattyn26-Oct-09 15:58 

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.