Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Windows Forms / WinForm General / February 2007

Tip: Looking for answers? Try searching our database.

Add My app to the 'Open With' menu

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
ElmoWatson - 14 Feb 2007 20:52 GMT
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?
Matt Lacey - 15 Feb 2007 10:42 GMT
> 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.
ElmoWatson - 15 Feb 2007 15:05 GMT
I'm using the Setup/deployment app that comes with Visual Studio2005

How do you do it inside VS?

> > 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
[quoted text clipped - 5 lines]
> Obviously the way to set this will depend on what you are using to
> build your installer.
Matt Lacey - 15 Feb 2007 16:38 GMT
> I'm using the Setup/deployment app that comes with Visual Studio2005
>
[quoted text clipped - 12 lines]
>
> - Show quoted text -

I've not used Visual Studio to build installers before (only
InstallShield, InnoEstup and WiX).
Seems like this should explain how to do it though:
http://msdn2.microsoft.com/en-us/library/4fcx9b75(VS.80).aspx

Basically, in the setup project select View > Editor > File Types and
enter the details there.
Elmo Watson - 18 Feb 2007 03:20 GMT
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

>> I'm using the Setup/deployment app that comes with Visual Studio2005
>>
[quoted text clipped - 21 lines]
> Basically, in the setup project select View > Editor > File Types and
> enter the details there.
Elmo Watson - 19 Feb 2007 23:45 GMT
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?

> 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
[quoted text clipped - 28 lines]
>> Basically, in the setup project select View > Editor > File Types and
>> enter the details there.
Matt Lacey - 20 Feb 2007 10:55 GMT
> I added some file types in the FileTypes window in the setup and it 'took
> over' that particular FileType.
[quoted text clipped - 51 lines]
>
> - 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.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.