It's not as low-level as you may think.
If you have ever fiddled with the file-types window in 'My Computer' you will have seen the bit that allows you to add your own commands to the right click menu.

I don't know if this is what you need but follow these hints to see what I mean:

===============
- Open the My Computer folder on the desktop and click the View menu

- click Folder options and go to the File Types tab, now you should be seeing a list of all the known filetypes on your PC.

- scroll down until you get to "Visual Basic Form File", then click the EDIT... button

- look at the Actions box, and you should see the word open, select it and press the EDIT... button below the box

- here is where you insert the path to the file that performs the open action. on my PC it is:
C:\Program Files\Microsoft Visual Studio\VB98\vb6.exe "%1"

you can add your own commands, for example, i have added one that prints the form's code through notepad.


The hard bit is doing all this crap through code, and i havent got the first idea how to do it. If you trawl through the registry i expect you'll find the bits you have to change.