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?

criselda.deluna.3 commented: billing system +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