Click here to Skip to main content
15,902,636 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: VB2010 Serial Port Tutorial? Pin
Luc Pattyn11-Jan-12 11:02
sitebuilderLuc Pattyn11-Jan-12 11:02 
GeneralRe: VB2010 Serial Port Tutorial? Pin
JDBravo11-Jan-12 11:48
JDBravo11-Jan-12 11:48 
AnswerRe: VB2010 Serial Port Tutorial? Pin
Luc Pattyn11-Jan-12 12:09
sitebuilderLuc Pattyn11-Jan-12 12:09 
GeneralRe: VB2010 Serial Port Tutorial? Pin
JDBravo12-Jan-12 4:15
JDBravo12-Jan-12 4:15 
GeneralRe: VB2010 Serial Port Tutorial? Pin
JDBravo12-Jan-12 6:19
JDBravo12-Jan-12 6:19 
GeneralRe: VB2010 Serial Port Tutorial? Pin
Simon_Whale12-Jan-12 6:26
Simon_Whale12-Jan-12 6:26 
GeneralRe: VB2010 Serial Port Tutorial? Pin
JDBravo12-Jan-12 6:38
JDBravo12-Jan-12 6:38 
AnswerRe: VB2010 Serial Port Tutorial? Pin
Luc Pattyn12-Jan-12 6:30
sitebuilderLuc Pattyn12-Jan-12 6:30 
Code looks rather fine, except for:

1. how many serial ports do you want? I see "instance" and "mySerialPort", I guess one of them is a mistake.

2. some of the comments are a bit strange:
- mySerialPort.Close() 'MAKE SURE IT IS CLOSED BEFORE START
to your app, all ports are closed at start; they may be open by some other process, but then your app can't close them.
- .Handshake = Handshake.None 'NO HANDSHAKE! I WANT TO TALK TO A CHIP (TX,RX AND GROUND WIRES ONLY)
yes, you talk to some chip; that does not influence what kind of handshake you could use.
- output = OUTGOING.Text
If output = "" Then 'COMPLAINED IT IS NULL SO THIS WAS ADDED
did you mean Nothing? you are testing for empty, not for nothing. And a TextBox.Text never results in Nothing!

Smile | :)
Luc Pattyn [My Articles] Nil Volentibus Arduum

GeneralRe: VB2010 Serial Port Tutorial? Pin
JDBravo12-Jan-12 6:46
JDBravo12-Jan-12 6:46 
GeneralRe: VB2010 Serial Port Tutorial? Pin
Luc Pattyn12-Jan-12 6:57
sitebuilderLuc Pattyn12-Jan-12 6:57 
GeneralRe: VB2010 Serial Port Tutorial? Pin
JDBravo12-Jan-12 7:17
JDBravo12-Jan-12 7:17 
GeneralRe: VB2010 Serial Port Tutorial? Pin
JDBravo13-Jan-12 6:11
JDBravo13-Jan-12 6:11 
AnswerRe: VB2010 Serial Port Tutorial? Pin
Luc Pattyn13-Jan-12 6:58
sitebuilderLuc Pattyn13-Jan-12 6:58 
AnswerRe: VB2010 Serial Port Tutorial? Pin
JDBravo13-Jan-12 10:39
JDBravo13-Jan-12 10:39 
AnswerRe: VB2010 Serial Port Tutorial? Pin
Luc Pattyn13-Jan-12 13:51
sitebuilderLuc Pattyn13-Jan-12 13:51 
Questionvb.net access controls by name Pin
alejx9-Jan-12 16:10
alejx9-Jan-12 16:10 
AnswerRe: vb.net access controls by name Pin
Luc Pattyn9-Jan-12 16:28
sitebuilderLuc Pattyn9-Jan-12 16:28 
AnswerRe: vb.net access controls by name Pin
Abhinav S9-Jan-12 21:28
Abhinav S9-Jan-12 21:28 
AnswerRe: vb.net access controls by name Pin
Simon_Whale9-Jan-12 21:52
Simon_Whale9-Jan-12 21:52 
QuestionADF Scanning Pin
ivo759-Jan-12 6:37
ivo759-Jan-12 6:37 
AnswerRe: ADF Scanning Pin
Simon_Whale9-Jan-12 12:37
Simon_Whale9-Jan-12 12:37 
GeneralRe: ADF Scanning Pin
ivo7510-Jan-12 2:23
ivo7510-Jan-12 2:23 
GeneralRe: ADF Scanning Pin
Richard MacCutchan10-Jan-12 2:39
mveRichard MacCutchan10-Jan-12 2:39 
QuestionCreate Guitar Tunner using Vb.net Pin
Mangore759-Jan-12 4:44
Mangore759-Jan-12 4:44 
AnswerRe: Create Guitar Tunner using Vb.net Pin
Simon_Whale9-Jan-12 4:55
Simon_Whale9-Jan-12 4:55 

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.