hi folks!
most programs have a special code, so that if you click on a file in (e.g.) the explorer, the program + (!) the file opens. i want my program to do that, but i don't know how....
please help...
alex
Printable View
hi folks!
most programs have a special code, so that if you click on a file in (e.g.) the explorer, the program + (!) the file opens. i want my program to do that, but i don't know how....
please help...
alex
Try the tree control or List control in vb6
i think you got a wrong meaning of my message.
example:
you have a .doc file on a floppy. on your computer you have installed word. you click on this file on the floppy (in mycomputer, or in the explorer, or in "run",...)
word opens and displays the file.
if i link several files(-types) with my program, it opens, but i dont know the code that is required that the program opens the file you clicked automaticaly.
I probably shouldn't suggest that you ask someone whom I myself don't know.... But if I remember right "KENNNY" was a member of a group(cintel) that was making a Windows Shell replacement.... He (or somone in his group) would have to have written some code like that..... Hopefully I'm naming the right person.... If not, sorry.
------------------
Mitchell Hayenga
[email protected]
[This message has been edited by mhayenga (edited 02-10-2000).]
Suggestion;
1.Your installer must set file(extention) association in the registry. It will call for your programm when the file is clicked.
2.You should pass the extention of the file to your programm as a parameter (if you are going to deal with multiple tipes of files).
thanx
i created an entry in the registry but i don't know the code i need, so that my program is able to get the variable, in that the file is saved.....