Click here to Skip to main content
15,899,314 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: How to check System DSN name is present ? Pin
Dave Kreskowiak18-Dec-08 8:19
mveDave Kreskowiak18-Dec-08 8:19 
GeneralRe: How to check System DSN name is present ? Pin
adpatel441-Jul-11 2:19
adpatel441-Jul-11 2:19 
GeneralRe: How to check System DSN name is present ? Pin
Dave Kreskowiak1-Jul-11 3:23
mveDave Kreskowiak1-Jul-11 3:23 
QuestionRs232 Pin
Mangore7518-Dec-08 2:16
Mangore7518-Dec-08 2:16 
AnswerRe: Rs232 Pin
Ashfield18-Dec-08 3:46
Ashfield18-Dec-08 3:46 
AnswerRe: Rs232 Pin
Dave Kreskowiak18-Dec-08 3:53
mveDave Kreskowiak18-Dec-08 3:53 
GeneralRe: Rs232 Pin
Mangore7518-Dec-08 18:50
Mangore7518-Dec-08 18:50 
GeneralRe: Rs232 Pin
Dave Kreskowiak19-Dec-08 1:20
mveDave Kreskowiak19-Dec-08 1:20 
I really hate repeating myself. First, the best source of support for any library you use is the people who wrote that library. Second, Port is usually going to be "COM1", "COM2", "COM3", ... or whatever the library supports. It LOOKS like this one only understands the COM designations, so:
Dim rs as New RS232.Rs232
With rs
            .Port = "COM3"
            .BaudRate = 2400
            .DataBit = 8
            .StopBit = RS232.Rs232.DataStopBit.StopBit_1
            .Parity = RS232.Rs232.DataParity.Parity_None
            .Timeout = 500
End With
rs.Open()
rs.Write(Me.TextBox1.Text)

Also, the communication parameters MUST be correct, otherwise, you'll either get nothing on the receiving device or you'll get garbage. Double-check with the device to verify what parameters you are supposed to use.


A guide to posting questions on CodeProject[^]



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




QuestionSendMessage not working for CheckBox Pin
scot_in18-Dec-08 1:04
scot_in18-Dec-08 1:04 
AnswerRe: SendMessage not working for CheckBox Pin
Dave Kreskowiak18-Dec-08 3:55
mveDave Kreskowiak18-Dec-08 3:55 
GeneralRe: SendMessage not working for CheckBox [modified] Pin
scot_in18-Dec-08 17:19
scot_in18-Dec-08 17:19 
AnswerRe: SendMessage not working for CheckBox Pin
arnold_w4-May-21 5:30
arnold_w4-May-21 5:30 
QuestionClass/Object Question Pin
RGVChris18-Dec-08 0:56
RGVChris18-Dec-08 0:56 
AnswerRe: Class/Object Question Pin
Jay Royall18-Dec-08 1:44
Jay Royall18-Dec-08 1:44 
GeneralRe: Class/Object Question Pin
RGVChris18-Dec-08 1:52
RGVChris18-Dec-08 1:52 
GeneralRe: Class/Object Question Pin
Dave Kreskowiak18-Dec-08 3:52
mveDave Kreskowiak18-Dec-08 3:52 
GeneralRe: Class/Object Question Pin
RGVChris18-Dec-08 4:04
RGVChris18-Dec-08 4:04 
GeneralRe: Class/Object Question Pin
Dave Kreskowiak18-Dec-08 4:08
mveDave Kreskowiak18-Dec-08 4:08 
GeneralRe: Class/Object Question Pin
Jay Royall18-Dec-08 4:12
Jay Royall18-Dec-08 4:12 
GeneralRe: Class/Object Question Pin
RGVChris18-Dec-08 4:21
RGVChris18-Dec-08 4:21 
QuestionHow to create consolidate setup for an application built in VB 2005 Pin
kennylal18-Dec-08 0:47
kennylal18-Dec-08 0:47 
AnswerRe: How to create consolidate setup for an application built in VB 2005 Pin
Dave Kreskowiak18-Dec-08 3:45
mveDave Kreskowiak18-Dec-08 3:45 
Questionexplore the folders in vb Pin
phokojoe17-Dec-08 23:26
phokojoe17-Dec-08 23:26 
AnswerRe: explore the folders in vb Pin
Ashfield18-Dec-08 0:05
Ashfield18-Dec-08 0:05 
AnswerRe: explore the folders in vb Pin
LloydA11119-Dec-08 8:34
LloydA11119-Dec-08 8:34 

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.