954,173 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

how i get serial data from comm port using visual basic 2005

hello to every body
im new in the vb language
plz kindly help me
can anyone tell me how to get the data from comm port by using the vb2005
thanks for replying me
thanks

adeelghani
Newbie Poster
7 posts since Mar 2009
Reputation Points: 10
Solved Threads: 0
 

Hi,

You should start with this:

Imports System.IO.Ports

Dim Comport As SerialPort
dim incomingdata as string = Comport.ReadLine()

martonx
Junior Poster in Training
51 posts since May 2008
Reputation Points: 10
Solved Threads: 8
 

thanks sir for guiding me
i pic ur point but i m still new to the veb
actually i make a project in which i take the data (from mobile modem or to send data to mobile modem from vb)
how can i do that the seting to com port and other parameters can u give more hints , how to send and take data sentax etc
i hope u reply me
again thanks sir
im wating 4 ur reply

adeelghani
Newbie Poster
7 posts since Mar 2009
Reputation Points: 10
Solved Threads: 0
 
martonx
Junior Poster in Training
51 posts since May 2008
Reputation Points: 10
Solved Threads: 8
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You