map0598 0 Newbie Poster

You know how you enter a command in windows 98/xp registry, for example:
HKEY_CLASSES_Root\*\shell command = notepad.exe %1

and when you right click on a file it appears in notepad.

I want to substitute "myvb6program.exe %1" for notepad.exe in the registry, but I need to know what vb6 code I use to get the file to appear in a textbox, just as it does in notepad.

I've searched for hours but I don't even know what to search for.

Any help or clue would be greatly appreciated.

Mario

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.