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

Reply

Join Date: Mar 2009
Posts: 7
Reputation: adeelghani is an unknown quantity at this point 
Solved Threads: 0
adeelghani adeelghani is offline Offline
Newbie Poster

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

 
0
  #1
Apr 2nd, 2009
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
Reply With Quote Quick reply to this message  
Join Date: May 2008
Posts: 51
Reputation: martonx is an unknown quantity at this point 
Solved Threads: 8
martonx martonx is offline Offline
Junior Poster in Training

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

 
0
  #2
Apr 3rd, 2009
Hi,

You should start with this:

Imports System.IO.Ports

Dim Comport As SerialPort
dim incomingdata as string = Comport.ReadLine()
Reply With Quote Quick reply to this message  
Join Date: Mar 2009
Posts: 7
Reputation: adeelghani is an unknown quantity at this point 
Solved Threads: 0
adeelghani adeelghani is offline Offline
Newbie Poster

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

 
0
  #3
Apr 3rd, 2009
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
Reply With Quote Quick reply to this message  
Join Date: May 2008
Posts: 51
Reputation: martonx is an unknown quantity at this point 
Solved Threads: 8
martonx martonx is offline Offline
Junior Poster in Training

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

 
0
  #4
Apr 3rd, 2009
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the VB.NET Forum


Views: 826 | Replies: 3
Thread Tools Search this Thread



Tag cloud for VB.NET
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2010 DaniWeb® LLC