Is it possible to launch an application in VB which cud be an exe with the option "OPEN WITH" by right clickin a Text file? The need is to use the contents in the text file in to the exe at the double click. Please help
Printable View
Is it possible to launch an application in VB which cud be an exe with the option "OPEN WITH" by right clickin a Text file? The need is to use the contents in the text file in to the exe at the double click. Please help
If I have what you are asking correct Silby you are after the Command$ variable. Here is a tutorial with sample code
You would then have to set your windows association for text files to your application.
Thanks Buddy to strike a light Would revert to u with the rest of procedures which i would do to make this work.
Welcome to VBForums :wave:
There is advice on that in the article How can I use command line parameters in my program? from our Classic VB FAQs (in the FAQ forum, which is shown near the top of our home page)