|
-
Feb 9th, 2000, 04:13 AM
#1
Thread Starter
Addicted Member
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
-
Feb 9th, 2000, 06:01 AM
#2
Lively Member
Try the tree control or List control in vb6
-
Feb 10th, 2000, 03:57 AM
#3
Thread Starter
Addicted Member
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.
-
Feb 10th, 2000, 11:32 AM
#4
Junior Member
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).]
-
Feb 10th, 2000, 11:57 AM
#5
Hyperactive Member
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).
-
Feb 10th, 2000, 08:26 PM
#6
Thread Starter
Addicted Member
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.....
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|