Results 1 to 5 of 5

Thread: Add item in 'New'

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Aug 2001
    Posts
    484

    Add item in 'New'

    Hi,

    You know when u right click anywhere on the desktop, a popup menu popups and and when you select 'New' there, you can create certain new files? I, dunno why, i am missing the 'Text File' option in 'New'. So can anyone tell me how i can add that back and how to add other custom file types???

    many thanx~!

  2. #2
    Megatron
    Guest
    Go into the registry and open up the path HKEY_CLASSES_ROOT.

    Now, choose a file extension (say .txt). Add a folder called .txt (or whatever your extension name is). Now set the (default) value of the folder to a unique key, e.g: "MyApp.MyDocument" (Window's uses txtfile for a text document).

    Now create another folder with the name of the unique key, and set the (default) value to whatever you want to appear in the Explorer context menu.

  3. #3

    Thread Starter
    Hyperactive Member
    Join Date
    Aug 2001
    Posts
    484
    yep, but pls tell me what unique key should i put?

    thanx

  4. #4
    DaoK
    Guest
    Megatron we can add our program with that ?

  5. #5
    Megatron
    Guest
    iflash: Put whatever you want for your own application. For a text file, it's good (but not mandatory) to use the default one for a text file, which is txtfile.

    DaoK: Yes.

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