Results 1 to 7 of 7

Thread: Reg extentions?

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    Sep 1999
    Location
    Phoenix, az
    Posts
    1,517

    Talking 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?

  2. #2
    Your Ad Here! Edneeis's Avatar
    Join Date
    Feb 2000
    Location
    Moreno Valley, CA (SoCal)
    Posts
    7,339
    You would have to change the file association for every extension on the computer. That may piss some people off.

  3. #3
    Frenzied Member
    Join Date
    Aug 2001
    Posts
    1,075
    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.

  4. #4
    So Unbanned DiGiTaIErRoR's Avatar
    Join Date
    Apr 1999
    Location
    /dev/null
    Posts
    4,111
    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

  5. #5

    Thread Starter
    Frenzied Member
    Join Date
    Sep 1999
    Location
    Phoenix, az
    Posts
    1,517

    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?

  6. #6
    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.

  7. #7

    Thread Starter
    Frenzied Member
    Join Date
    Sep 1999
    Location
    Phoenix, az
    Posts
    1,517

    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
  •  



Click Here to Expand Forum to Full Width