Starting Application Through File Manager

Starting Application Through File Manager

What do I have to do to make my application respond to a file-kickstart (double-click)in file-manager? When I select and associate a specific file type with my application it only executes my app without opening the specific file.

Within the starting subroutine of your application (either Form_Load of the start up form, or Sub Main() ), you need to look at Command$ to see what was on the command line of the application. For instance, if the user starts your app from File Manager by double clicking on an associated file, that filename will be on the command line. You can use Command$ to figure out what to do first.


Share the Post: