Hello smay,
What Open with... does is... Pass the file name you have clicked as a commandline
argument to your application. So what you should be looking for is how to
read the commandline arguments from your application.
I think in .Net + VB, this can be done pretty easily.
System.Environment.GetCommandLineArgs()
I think that should do the trick... but I am writing from memory, and I could
be wrong. Let me know if you get anywhere
Regards
Cyril Gupta
You can do anything with a little bit of 'magination.
I'm building a small app that is launched by right-clicking on an XML
file and choosing "Open With...". Ugly, I know, but I can't associate
.xml with my app. Anyway, once the app is launched, how can I get the
full path to the XML file that was opened?