Click here to Skip to main content
15,921,452 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: How to make an asynchronous call to a web service in vb.net framework 3.5 Pin
Paul Conrad13-Nov-08 6:22
professionalPaul Conrad13-Nov-08 6:22 
QuestionAlign form with Excel Window Pin
craigmg7812-Nov-08 9:19
craigmg7812-Nov-08 9:19 
AnswerRe: Align form with Excel Window Pin
Dave Kreskowiak12-Nov-08 10:42
mveDave Kreskowiak12-Nov-08 10:42 
GeneralRe: Align form with Excel Window Pin
craigmg7812-Nov-08 10:59
craigmg7812-Nov-08 10:59 
GeneralRe: Align form with Excel Window Pin
sph3rex12-Nov-08 11:12
sph3rex12-Nov-08 11:12 
GeneralRe: Align form with Excel Window Pin
Dave Kreskowiak13-Nov-08 4:05
mveDave Kreskowiak13-Nov-08 4:05 
QuestionSending Bytes Packet to Remote System Pin
ajorge200812-Nov-08 4:48
ajorge200812-Nov-08 4:48 
AnswerRe: Sending Bytes Packet to Remote System Pin
Dave Kreskowiak12-Nov-08 6:38
mveDave Kreskowiak12-Nov-08 6:38 
There are 3 glaring possibilities. The first is you have to make asolutely sure your communication parameters are correct, like baud rate, data bits, stop bits, parity, ....

The second is that you're call to spObject.ReadLine will only work if the device sent back what .NET interprets as a Newline[^] sequence in the byte stream. If this sequence isn't there, then the call will throw a Timeout exception.

The third possibility is that you didn't send the command to the device in a manner, or format, the device expects. Is the byte sequence correct?? Is the command terminated correctly?? Was it sent with extra bytes appended to it that the device didn't expect (like CR and LF)??

This is going to be a difficult question to answer because YOU have the hardware, not us. We have nothing to test this against. It's going to take a bunch of research on the device and trial-and-error fiddling on your part to get this to work.


A guide to posting questions on CodeProject[^]



Dave Kreskowiak
Microsoft MVP
Visual Developer - Visual Basic
     2006, 2007, 2008




AnswerRe: Sending Bytes Packet to Remote System Pin
Rajesh Anuhya12-Nov-08 17:46
professionalRajesh Anuhya12-Nov-08 17:46 
QuestionTrimming special characters in VB 6.0 Pin
indian14312-Nov-08 4:33
indian14312-Nov-08 4:33 
AnswerRe: Trimming special characters in VB 6.0 Pin
Jon_Boy12-Nov-08 6:07
Jon_Boy12-Nov-08 6:07 
GeneralRe: Trimming special characters in VB 6.0 Pin
indian14312-Nov-08 6:12
indian14312-Nov-08 6:12 
GeneralRe: Trimming special characters in VB 6.0 Pin
sph3rex12-Nov-08 6:35
sph3rex12-Nov-08 6:35 
GeneralRe: Trimming special characters in VB 6.0 Pin
indian14312-Nov-08 6:56
indian14312-Nov-08 6:56 
GeneralRe: Trimming special characters in VB 6.0 Pin
sph3rex12-Nov-08 7:06
sph3rex12-Nov-08 7:06 
GeneralRe: Trimming special characters in VB 6.0 Pin
indian14312-Nov-08 7:36
indian14312-Nov-08 7:36 
GeneralRe: Trimming special characters in VB 6.0 Pin
Dave Kreskowiak12-Nov-08 10:33
mveDave Kreskowiak12-Nov-08 10:33 
GeneralRe: Trimming special characters in VB 6.0 Pin
sph3rex12-Nov-08 10:57
sph3rex12-Nov-08 10:57 
AnswerRe: Trimming special characters in VB 6.0 Pin
Dave Kreskowiak12-Nov-08 6:26
mveDave Kreskowiak12-Nov-08 6:26 
GeneralRe: Trimming special characters in VB 6.0 Pin
Jon_Boy12-Nov-08 9:49
Jon_Boy12-Nov-08 9:49 
AnswerThanks to all got it Pin
indian14312-Nov-08 7:50
indian14312-Nov-08 7:50 
GeneralRe: Thanks to all got it Pin
Dave Kreskowiak12-Nov-08 10:31
mveDave Kreskowiak12-Nov-08 10:31 
QuestionPattern for only numericals Pin
indian14312-Nov-08 1:57
indian14312-Nov-08 1:57 
AnswerRe: Pattern for only numericals Pin
Jon_Boy12-Nov-08 2:39
Jon_Boy12-Nov-08 2:39 
GeneralRe: Pattern for only numericals Pin
indian14312-Nov-08 3:39
indian14312-Nov-08 3:39 

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.