|
-
Oct 27th, 2001, 10:21 PM
#1
Thread Starter
Frenzied Member
Reg extentions?
This is what I want..
Say.. I goto the explorer.. and I get to a file that I want to open. I right click and on EVERY file I right click there is a option that says 'Shell Open'.
This option will link to my program.. Is there a easy way to add my file extention to ALL extentions on the computer?
-
Oct 28th, 2001, 12:08 AM
#2
You would have to change the file association for every extension on the computer. That may piss some people off.
-
Oct 28th, 2001, 12:29 AM
#3
Frenzied Member
You can write a DLL (I've done it in C, not VB) that will add a menu item to every file type. It is called a shell extention. Search the MSDN for examples and explanations.
Greg
Free VB Add-In - The Reference Librarian
Click Here for screen shot and download link.
-
Oct 28th, 2001, 01:04 AM
#4
So Unbanned
There is a general key that adds to most extensions...
Sorry I don't know where... 
But I'll look at get back to you
-
Oct 28th, 2001, 02:27 PM
#5
Thread Starter
Frenzied Member
hmm
There is a key to do that. I dont know where either.
That was what I wanted.
There is also a key to make all unknown extentions
open in a program. Anyone know that one?
-
Oct 28th, 2001, 02:29 PM
#6
Member
Originally posted by Edneeis
You would have to change the file association for every extension on the computer. That may piss some people off.
And it would really screw things up if you change the default association, particurally for EXEs.
-
Oct 28th, 2001, 02:56 PM
#7
Thread Starter
Frenzied Member
Wow!
I figured it out my self!!!
THis is the key and value I made.
HKEY_CLASSES_ROOT\*\shell\Shh\command
(Default) = "C:\WINDOWS\ShellOpen.exe" "%1"
Shh is what the option will say. =)
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
|