Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

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..
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top