Getting Application’s Starting Path with the App Object

Question:
When starting a VB program and I load the starting form, I wantto get the directory from the active program. How do I get thedirectory name?

Answer:
The Path property of the App object contains the starting directory for the application.

   MyPath$ = App.Path
Share the Post:
Share on facebook
Share on twitter
Share on linkedin

Overview

Recent Articles: