open-with

If I make a new file type for my program, how do I use "Open With" properly?

I made a program. I also made my own file type, which the program can create, open, and edit. In Explorer, I right clicked on this new file type and selected "Open With" and chose my program. Of course, it just opens the program without loading the file. How do I let my program know that it's being requested to open a file on startup...

Open IIS website in editor by right-click?

I was just wondering... is there any kind of extensibility whatsoever to the IIS management console? What i'm looking for, is some way to make it so i can right-click on a website in IIS, and say "Open in..." and then open it directly in an editor, such as Web Developer Express. It's not critical, but it would be very convenient and s...

c# open file always show "Open With" dialog

I have a c# application, which downloads a file, and should always show the Open With dialog, regardless if the extension is a known extension or not. I tried global::System.Diagnostics.Process.Start("rundll32.exe", string.Format("shell32.dll,OpenAs_RunDLL \"{0}\"", filename)); but, when I try to open a .png file, th...

How to Enable “Always use the selected program to open this kind of file” Option in Open With Dialog Box?

How can I enable “Always use the selected program to open this kind of file” option in Open With dialog box? I already checked following registry entries: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\policies\Explorer Value of "NoFileAssociate" Set to 0 ( as reccomended on Microsoft site ) HKEY_CLASSES_ROOT\Unknown...

open file directly

I created a text editor in C# and I use a special file extension for the XML file that my program uses. When I use "Open With..." from the Windows context menu, my program doesn't read the file and I get an error. How do I fix this? ...

Make windows open with work with my application

Hi, I wrote an application which will be able to open files of particular extension and show it to users. Now I want the users to be able to just double click the file and have it open with my application. I tried to set the "Always use the selected program..." option in the windows "Open With" dialog box, but do not know how to receive...

C# Windows 'Open With >' Context menu behaviour

I'm writing a C# Windows app to visualise and modify '.build' files (nant scripts). I would like the user to be able to right click on a .build file in windows explorer and select the 'Open With >' option to allow the file to be modified in my app. What does my program need to support in-order to work with this mechanism? What might my ...