Using PC*MILER|Connect from Visual Basic is very much like calling it from ‘C’: the declarations are different, but the calling sequences are the same. Please see the Visual Basic declaration file in your installation folder (usually C:\ALK Technologies\PCMILERxx\Connect).
The sample project in this folder is not intended to be a complete application. Rather it is a collection of illustrative examples of how to open an engine connection, create a trip, extract a report, look up city names, and create your own user interface on top of PC*MILER|Connect.
NOTE: Also refer to pcmstrip.h and pcmsinit.h in C:\ALK Technologies\PCMILERxx\Connect\C_CPP\StaticLink\pcmsrv32.