Time: 2008-11-21, 09:16pm
Please
login or
register to post a reply.
Subject: how to interface the serial port with vb6? · Posted: 2006-08-21, 02:56am
Rank: ? (2)
Member #: 28242
hie hie,
anyone can teach me how to use the mscomm icon in vb6 to interface with microcontroller? it will be better if you can teach me how to do the handshaking protocol.
please reply asap...
your help and advice is very much appreciated... thanks!!!!
Subject: Re: how to interface the serial port with vb6? · Posted: 2006-09-26, 05:33pm
Rank: ? (3)
Member #: 28625
Hi,
Below is the code to connect serial port
MSComm1.CommPort = 1
MSComm1.Settings = "19200,N,8,1"
MSComm1.InputLen = 0
MSComm1.Handshaking = comNone
MSComm1.PortOpen = True
where
Line 1 ----- Port Number
Line 2 -----19200 is speed, N is Priority (N means None)
Line 3 -----Intial input len =0
Masood
Forum Quick Jump - Free2Code - Anything and Everything - Suggestions - Challenges & Awards - Chat - Community Projects - Bugs - Programming Languages - PHP - C/C++ - Visual Basic - Other - Java - Assembler - Perl - Python - Programming - 3D Graphics - Database design and management - Physics - Encryption and compression - Networking - Operating Systems - Web Development - Graphics - Web Design - HTML/CSS - Website Help/Review - Flash - Computing & Operating Systems - Hardware/Electronics - Security - Linux/UNIX - Microsoft Windows - Apple Mac - Other OSs - General Computing - Life/Other - Religion - Politics/World Events - Debate - Arts & Entertainment - Books++ - Music - Movies - Humor - Games - Sports - Arts - Archives - Tutorial Request - Old Bugs 2 - Free2Host Hosting - Ada - Functional Languages - Career - Old Bugs
Pages: 1
Please
login or
register to post a reply.