DaniWeb IT Discussion Community

DaniWeb IT Discussion Community (http://www.daniweb.com/forums/index.php)
-   VB.NET (http://www.daniweb.com/forums/forum58.html)
-   -   how i get serial data from comm port using visual basic 2005 (http://www.daniweb.com/forums/thread184817.html)

adeelghani Apr 2nd, 2009 2:34 pm
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

martonx Apr 3rd, 2009 3:02 am
Re: how i get serial data from comm port using visual basic 2005
 
Hi,

You should start with this:

Imports System.IO.Ports

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

adeelghani Apr 3rd, 2009 7:20 am
Re: how i get serial data from comm port using visual basic 2005
 
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

martonx Apr 3rd, 2009 11:46 am
Re: how i get serial data from comm port using visual basic 2005
 
I hope this will help you.

http://msdn.microsoft.com/en-us/libr...erialport.aspx


All times are GMT -4. The time now is 2:25 pm.

Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2009 DaniWeb® LLC