|
-
Aug 23rd, 2000, 03:52 AM
#1
Thread Starter
Junior Member
Could someone please tell me what I do to the registry to add a menu item to all files? (Ex: Open With My App, on every file... NOT folders though) Thanks!
-
Aug 23rd, 2000, 08:02 AM
#2
Frenzied Member
I think you need to do a loop trough all entries in the Registry regarding files (think they all start with . (.exe)), the entries for the folder doesn't start with . so it wouldn't be added.
And another Q.
What does your prog do?
Jop - validweb.nl
Alcohol doesn't solve any problems, but then again, neither does milk.
-
Aug 23rd, 2000, 02:25 PM
#3
Thread Starter
Junior Member
It's alright I found it again, thanks.
You modify the "*" key under HKEY_CLASSES_ROOT and add a "Shell" key, then place a key under that one for your menu (Ex: "Open With My Prog"), then under that key, another key called "command" in which the (Default) string value is the path to your program followed by %1 where you want Windows to give the path of the file...
-
Aug 23rd, 2000, 05:02 PM
#4
Frenzied Member
Yeah I knew all that stuff except for the * key that's pretty cool, but doesn't it add the folder thing then aswell ?
Jop - validweb.nl
Alcohol doesn't solve any problems, but then again, neither does milk.
-
Aug 23rd, 2000, 05:37 PM
#5
Thread Starter
Junior Member
Nope... It just adds for all files. I'm guessing because folders don't have an extension. There's a separate entry for Folders around the same area...
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
|