serial communication in VB6 (button to send data through rs)

Status
Not open for further replies.

benze

Newbie level 5
Joined
Dec 15, 2009
Messages
8
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Location
Philippines
Activity points
1,337
serial in VB6

hello can you give me sample code in VB6. By cliking the button
it will send the data to the serial port.

tnx.
 

serial in VB6

make it in c# it is hell easy than VB(outdated)

Added after 27 seconds:

start it ill help u out
 

serial in VB6

Ok i will make it Visual C#. Can you give
me a sample to that. The time i will push the button of
my GUI it will send a character assigned to it sending
it in the serial port.

tnx ifithegr8,
 

Re: serial in VB6

if you want to send data to your modem using vb6
use this code:
private sub start()
mscomm1.out = chr$(49) ' example you want to send character 1'
end sub

but you need to program your microcontroller, that every time he receive 1, it will start.
hope it help..
 

Re: serial in VB6

Look here: **broken link removed**
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…