|
-
May 13th, 2002, 08:48 AM
#1
Thread Starter
New Member
Com port quest!!!!
hi,
URGENTLY!!!! I need to write a VB program that can extract datas from a recorder that is connected to a computer through a serial port.
I wonder what to write in my program that can display the datas on the computer . I mean can I write MS Comm Controll like this is enough and no need that write a long program>>>?
Public Sub InitialComPort()
MSCOmm1.CommPort = 2
MSComm1.Settings =" 9600,N,8,2"
MSComm1.Input.Len = 0
MsCOmm1.OpenPort= True
Txt.display.Text = MSComm.Input ' will this read the 60 datas?If yes, how to display that datas one by one on the computer screen '
End Sub
and
Public End Sub EndCOmPort()
MSComm1.PortOpen = False
End Sub
If cannot read, then can u pls help me to correct the program???
Thanks for help!!!!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|