954,568 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

sample of vb6.0 source code for rs232

hello vb expert there... i really need a sampl of vb6.0 source code for rs232. i try to link my vb6.0 to PIC circuit using max232. anybody have idea how to send a number from vb?

maharajakecil
Newbie Poster
11 posts since Mar 2008
Reputation Points: 10
Solved Threads: 0
 

There are some 3rd party components (no freeware of course!) or you can use API calls in CPP style or even better write a DLL in CPP and call it from VB.

IMHO the simplest way is to use OCX named "Microsoft comm control 6.0" (part of vb6) which was created to let VB communicate with modems, but works fine with any serial line connected device. Plus you can use samples written by MSC documentation team e.g.:
http://support.microsoft.com/kb/194922

VIeditorlover
Junior Poster
137 posts since Dec 2007
Reputation Points: 10
Solved Threads: 9
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You