|
-
Oct 12th, 2001, 06:29 AM
#1
Thread Starter
Hyperactive Member
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~!
-
Oct 12th, 2001, 02:43 PM
#2
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.
-
Oct 12th, 2001, 08:41 PM
#3
Thread Starter
Hyperactive Member
yep, but pls tell me what unique key should i put?
thanx
-
Oct 12th, 2001, 08:52 PM
#4
Megatron we can add our program with that ?
-
Oct 13th, 2001, 10:57 AM
#5
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|