Click here to Skip to main content
15,884,472 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi,

I want to Launch a VB6 app by double clicking Data Files in Windows Explorer.

All The Data files have the same Extention so I can use the Normal Windows File Association to Launch my App. So far so good.

The App is Designed to determine the Revision of the Data File and then select the correct Program to run that particular Revision of the Data File.

My problem is that I dont't know how to get the File Name of the Data file used to launch the VB App so I can then process it.

I am using VB6

Any help is mich appreciated

Thanks
Posted
Comments
Sergey Alexandrovich Kryukov 19-Nov-13 10:58am    
I cannot even imagine the scenario when you get a file not having its name, so you have to explain...
—SA

1 solution

If you are using VB6 and have set up the correct associations then the filename double clicked on will be available via the command$ variable (command line)
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900