Click here to Skip to main content
16,017,857 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
GeneralRe: Error with Assembly reference Pin
Eddy Vluggen30-Oct-13 11:02
professionalEddy Vluggen30-Oct-13 11:02 
GeneralRe: Error with Assembly reference Pin
indian14331-Oct-13 6:48
indian14331-Oct-13 6:48 
GeneralRe: Error with Assembly reference Pin
Eddy Vluggen31-Oct-13 9:34
professionalEddy Vluggen31-Oct-13 9:34 
Question[VB.NET 2008] How to use DeviceIoControl function? Pin
steve_949661328-Oct-13 3:06
professionalsteve_949661328-Oct-13 3:06 
AnswerRe: [VB.NET 2008] How to use DeviceIoControl function? Pin
David Knechtges28-Oct-13 3:14
David Knechtges28-Oct-13 3:14 
GeneralRe: [VB.NET 2008] How to use DeviceIoControl function? Pin
steve_949661328-Oct-13 3:47
professionalsteve_949661328-Oct-13 3:47 
GeneralRe: [VB.NET 2008] How to use DeviceIoControl function? Pin
David Knechtges29-Oct-13 3:13
David Knechtges29-Oct-13 3:13 
GeneralRe: [VB.NET 2008] How to use DeviceIoControl function? Pin
steve_949661329-Oct-13 4:55
professionalsteve_949661329-Oct-13 4:55 
Yes, I tried to use the ErrorReceived event but it doesn't seem to work.
I use the DataReceived event to receive data and it works but I get no error, on the other hand I read in the help that:
...
PinChanged, DataReceived, and ErrorReceived events may be called out of order, and there may be a slight delay between when the underlying stream reports the error and when code can when the event handler is executed. Only one event handler can execute at a time.
...

However, I found another way using API and p/invoke: I use the function WaitCommEvent() to get directly the break instaed of the framing error.
This solution was suggested by Bruce Eitman in the MSDN Windows Embedded Compact forum and I found a good example in the article "Smart Device Print Engine for Compact Framework" by Orkun GEDiK here in CodeProject.

Thanks anyway for your interest and for your time.
Questiontimer events, vb.net Pin
srinivasankrishnaa24-Oct-13 6:08
srinivasankrishnaa24-Oct-13 6:08 
AnswerRe: timer events, vb.net Pin
Eddy Vluggen24-Oct-13 8:09
professionalEddy Vluggen24-Oct-13 8:09 
GeneralRe: timer events, vb.net Pin
srinivasankrishnaa27-Oct-13 3:06
srinivasankrishnaa27-Oct-13 3:06 
GeneralRe: timer events, vb.net Pin
Dave Kreskowiak27-Oct-13 5:34
mveDave Kreskowiak27-Oct-13 5:34 
GeneralRe: timer events, vb.net Pin
srinivasankrishnaa29-Oct-13 7:05
srinivasankrishnaa29-Oct-13 7:05 
GeneralRe: timer events, vb.net Pin
Dave Kreskowiak29-Oct-13 10:17
mveDave Kreskowiak29-Oct-13 10:17 
GeneralRe: timer events, vb.net Pin
srinivasankrishnaa30-Oct-13 7:04
srinivasankrishnaa30-Oct-13 7:04 
QuestionPlacing a number in registry,vb.net Pin
srinivasankrishnaa22-Oct-13 0:46
srinivasankrishnaa22-Oct-13 0:46 
AnswerRe: Placing a number in registry,vb.net Pin
Richard Deeming22-Oct-13 1:16
mveRichard Deeming22-Oct-13 1:16 
AnswerRe: Placing a number in registry,vb.net Pin
Marco Bertschi22-Oct-13 1:17
protectorMarco Bertschi22-Oct-13 1:17 
QuestionFileWtacher stop working after 300 Pin
byka21-Oct-13 3:02
byka21-Oct-13 3:02 
AnswerRe: FileWtacher stop working after 300 Pin
Abhinav S21-Oct-13 3:08
Abhinav S21-Oct-13 3:08 
AnswerRe: FileWtacher stop working after 300 Pin
Kornfeld Eliyahu Peter21-Oct-13 3:53
professionalKornfeld Eliyahu Peter21-Oct-13 3:53 
GeneralRe: FileWtacher stop working after 300 Pin
byka21-Oct-13 4:47
byka21-Oct-13 4:47 
AnswerRe: FileWtacher stop working after 300 Pin
Kornfeld Eliyahu Peter21-Oct-13 5:43
professionalKornfeld Eliyahu Peter21-Oct-13 5:43 
QuestionDisabling Keyboard,vb.net Pin
srinivasankrishnaa20-Oct-13 3:25
srinivasankrishnaa20-Oct-13 3:25 
AnswerRe: Disabling Keyboard,vb.net Pin
Dave Kreskowiak20-Oct-13 8:58
mveDave Kreskowiak20-Oct-13 8: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.