This is an example for using RAS with VB 3

RASANDGO is a 16 bit vb-program that works only with commandline parameters.
RASANDGO is tested with WIN95 and NT. Should work also under windows.
---------------------------------------------------------------------
The program connects to a ras-server. After a successful connection
a batchfile is executed. RASANDGO waits for the completion of the batchfile
and closes the connection.
If there are errors you can test for existance of an errorfile.
Sorry- no errorlevel from windowsprograms. 

Under Win95 and NT the program can executed within an batchfile.

RASANDGO <PHONEENTRY> <USERNAME> <PASSWORD> <DOMAIN> <BATCHFILE> <ERRORFILE> <STATUSFILE>

PHONEENTRY           - Phoneentry from the Ras-Phonebook. Write it exact.
                       if there are spaces surround the entry with "
USERNAME,PASSWORD,DOMAIN  as in RAS
BATCHFILE           -  name of a batch-file that is executed after a successful connection
                       The name of the errorfile and the statusfile is passed to
                       the batchfile as a paramter.
ERRORFILE           -  name of an error file. if that file exists after RASANDGO
                    -  an error has occured.
STATUSFILE          -  name of a status-file

This version is absolutely free.

If have time i will change it in the future to vb4-32.

example batchfiles are included. have a look for the way to execute a batchjob
on a remote nt-server!!
