|
-
Jun 26th, 2000, 11:28 PM
#1
Thread Starter
Addicted Member
Does anyone know how I can add items to the windows right-click menu like ICQ (ICQ - Send to user) and Winzip (add file to archive) do?
Razzle
ICQ#: 31429438
What is the difference between a raven?
-The legs. The length is equal, especially the right one. 
-
Jun 27th, 2000, 12:31 AM
#2
It's not as low-level as you may think.
If you have ever fiddled with the file-types window in 'My Computer' you will have seen the bit that allows you to add your own commands to the right click menu.
I don't know if this is what you need but follow these hints to see what I mean:
===============
- Open the My Computer folder on the desktop and click the View menu
- click Folder options and go to the File Types tab, now you should be seeing a list of all the known filetypes on your PC.
- scroll down until you get to "Visual Basic Form File", then click the EDIT... button
- look at the Actions box, and you should see the word open, select it and press the EDIT... button below the box
- here is where you insert the path to the file that performs the open action. on my PC it is:
C:\Program Files\Microsoft Visual Studio\VB98\vb6.exe "%1"
you can add your own commands, for example, i have added one that prints the form's code through notepad.
The hard bit is doing all this crap through code, and i havent got the first idea how to do it. If you trawl through the registry i expect you'll find the bits you have to change.
-
Jun 27th, 2000, 02:11 AM
#3
Thread Starter
Addicted Member
Thank you, man!! I think I've got a sample somewhere on how to associate filetypes with you program
I just have to search it
Razzle
ICQ#: 31429438
What is the difference between a raven?
-The legs. The length is equal, especially the right one. 
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
|