How To: Start PC ARC/INFO from Visual Basic


The following article is a description of how to start PC ARC/INFO or DAK from a VB script.


Use the "Shell" command. It executes another command from visual basic. It is similar to the WIN RUN command in ARCPLOTW. To launch ARCPLOTW you would do the following:

Shell("C:\arcexe\cmd\scrwin.exe x ArcplotW",1)

The "C:\arcexe\cmd\scrwin.exe" is the path name to scrwin on your arcexe\cmd directory. This path can vary depending on the location of pc arc.