In short, the filename that was double clicked is (or should be) passed to the executable as a command line argument.
So from VB you need to check the command$ value or from c++ the values of argc and argv
Take Care
Matt
If at first you don't succeed, skydiving is not for you.