|
-
Sep 14th, 2009, 03:09 PM
#1
Thread Starter
New Member
Sending and receiving data to RS232/MSComm thru a VB6.0 app
Hi there.. please help! This is very urgent!
I am developing an application which is pretty much a replacement of a hyperterminal. I am trying to send commands to the serial port using MSComm in VB6.0
When I type in on the hyperterminal h003128 I get a response OK. Or when I type in i003 it displays back some values.
What I am trying to figure out how do I send the h003128 via VB6. I believe I've undertood how to send data to the port. It seems I am not getting the correct formate. Please help.
This wont work.. the formate iAAADDD where i = i AAA = 003 and DDD = 128
MSComm1.Output "i003128"
Any idea? Thanks much.
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
|