Add My app to the 'Open With' menu

E

ElmoWatson

Can someone guide me to a place where I can learn how to, in the
Setup/deployment project for my application, add my Application to the "Open
With" menu?
 
M

Matt Lacey

Can someone guide me to a place where I can learn how to, in the
Setup/deployment project for my application, add my Application to the "Open
With" menu?


You need to register your program with the desired file type when
installing the program.

Obviously the way to set this will depend on what you are using to
build your installer.
 
E

ElmoWatson

I'm using the Setup/deployment app that comes with Visual Studio2005

How do you do it inside VS?
 
E

Elmo Watson

That shows how to associate filetypes with the program - - of course I
wouldn't want to do that without allowing the enduser to make the choice...

I'm talking about adding it to the 'Open With' context menu - when you right
click on a file - I want my app to appear in the Open With menu
 
E

Elmo Watson

I added some file types in the FileTypes window in the setup and it 'took
over' that particular FileType.

Any time I double click on a Text File, for instance, it opens in my
application. The strange thing is, that it also adds an item to the 'Opens
With' menu, with the icon for my application, but the text/caption is
blank....

I've looked and looked, googled different items, etc but I can't find out
how to:
1. Get the caption of my application in the 'Open With' menu
and
Aside from that, is there a website somewhere that shows how to set it up so
that I can add my application to the 'Open With' menu, for several file
types, AND make it user-selectable on associating the filetypes with my
application?
 
M

Matt Lacey

I added some file types in the FileTypes window in the setup and it 'took
over' that particular FileType.

Any time I double click on a Text File, for instance, it opens in my
application. The strange thing is, that it also adds an item to the 'Opens
With' menu, with the icon for my application, but the text/caption is
blank....

I've looked and looked, googled different items, etc but I can't find out
how to:
1. Get the caption of my application in the 'Open With' menu
and
Aside from that, is there a website somewhere that shows how to set it up so
that I can add my application to the 'Open With' menu, for several file
types, AND make it user-selectable on associating the filetypes with my
application?








- Show quoted text -

My understanding of the 'open with' menu is that it is the consequence
of multiple programs having been specified as the way to open/process
the same file type.
I'm sorry, but I don't know how to add to this list without
registering a new file type.
If overwritting the current file type handler is not acceptable, try
searching for the registry entries that exist for current entries in
the 'open with' menu.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top