By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,967 Members | 1,690 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,967 IT Pros & Developers. It's quick & easy.

the code behind opening a file by double clicking it.

P: 52
I have created an exe in Vb.net which displays a message" Hello world" in a messagebox.
and associated this exe with a new file type " .key " of my own(by adding this file type in folder option ..file types.)

so when i save a text file as " xyz.key " then a new fil is created with extension .key

now when i double click this xyz file my hello world exe gets executed and displays the message.

I want to display "the name of file with path" after clicking which the. exe got executed ,also in themessagebox. so how can I know from my exe which textfile (saved as .key)executed it..
Jun 15 '07 #1
Share this Question
Share on Google+
1 Reply


P: 52
anyone having any idea...??????
Jun 20 '07 #2

Post your reply

Sign in to post your reply or Sign up for a free account.