Click here to Skip to main content
15,888,461 members
Home / Discussions / C#
   

C#

 
GeneralRe: Binding Manger Woes Pin
Wjousts23-Sep-03 10:47
Wjousts23-Sep-03 10:47 
GeneralSerialize only 1 field: Panel Pin
pahluwalia23-Sep-03 6:22
pahluwalia23-Sep-03 6:22 
GeneralRe: Serialize only 1 field: Panel Pin
Heath Stewart23-Sep-03 6:43
protectorHeath Stewart23-Sep-03 6:43 
GeneralRe: Serialize only 1 field: Panel Pin
pahluwalia23-Sep-03 6:55
pahluwalia23-Sep-03 6:55 
GeneralRe: Serialize only 1 field: Panel Pin
Heath Stewart23-Sep-03 8:31
protectorHeath Stewart23-Sep-03 8:31 
GeneralReceiving Input from other processes/OS (aka Standard In) Pin
AJB...23-Sep-03 5:13
AJB...23-Sep-03 5:13 
GeneralRe: Receiving Input from other processes/OS (aka Standard In) Pin
Heath Stewart23-Sep-03 5:55
protectorHeath Stewart23-Sep-03 5:55 
GeneralRe: Receiving Input from other processes/OS (aka Standard In) Pin
Blake Coverett23-Sep-03 6:51
Blake Coverett23-Sep-03 6:51 
Heath:

I believe you misread the point of his question.

AJB:

If your app is associated with a file extension you will be called with the name of that file as a command line argument, i.e. the args in static int Main(string[] args), not the stream on standard input.

And file types registrations are stored, unsurprisingly, in the registry. Whatever tool you use to create a install package will have that as an easy option. If you want to do it manually use the Microsoft.Win32.Registry class and read the documentation on shell file types here.

I can no longer find an MSDN reference to the IE mime handler information, but by memory, HKCR/MIME/database/Content Type/{insert your mime type here}/Extension = {make sure it points to the extention you've mapped above}

You can also do fancier things with Monikers and DocObjects, but that would be hard to do with C#.

--
-Blake (com/bcdev/blake)
GeneralRe: Receiving Input from other processes/OS (aka Standard In) Pin
AJB...23-Sep-03 7:20
AJB...23-Sep-03 7:20 
GeneralRe: Receiving Input from other processes/OS (aka Standard In) Pin
Blake Coverett23-Sep-03 8:05
Blake Coverett23-Sep-03 8:05 
GeneralRe: Receiving Input from other processes/OS (aka Standard In) Pin
Heath Stewart23-Sep-03 8:47
protectorHeath Stewart23-Sep-03 8:47 
GeneralNewbie in C# Pin
Member 59611223-Sep-03 4:42
Member 59611223-Sep-03 4:42 
GeneralRe: Newbie in C# Pin
Heath Stewart23-Sep-03 6:02
protectorHeath Stewart23-Sep-03 6:02 
GeneralRe: Newbie in C# Pin
Michael P Butler23-Sep-03 6:44
Michael P Butler23-Sep-03 6:44 
GeneralSystem.UnauthorizedAccessException Pin
ich_bins23-Sep-03 4:29
ich_bins23-Sep-03 4:29 
GeneralControl Designer & Child Controls Issue Pin
scott@otech.com23-Sep-03 4:14
scott@otech.com23-Sep-03 4:14 
GeneralRe: Control Designer & Child Controls Issue Pin
Heath Stewart23-Sep-03 5:50
protectorHeath Stewart23-Sep-03 5:50 
GeneralRe: Control Designer & Child Controls Issue Pin
scott@otech.com23-Sep-03 6:20
scott@otech.com23-Sep-03 6:20 
GeneralRe: Control Designer & Child Controls Issue Pin
Heath Stewart23-Sep-03 6:47
protectorHeath Stewart23-Sep-03 6:47 
GeneralRe: Control Designer & Child Controls Issue Pin
scott@otech.com24-Sep-03 7:51
scott@otech.com24-Sep-03 7:51 
GeneralRe: Control Designer & Child Controls Issue Pin
Heath Stewart24-Sep-03 8:50
protectorHeath Stewart24-Sep-03 8:50 
GeneralRe: Control Designer & Child Controls Issue Pin
scott@otech.com24-Sep-03 9:02
scott@otech.com24-Sep-03 9:02 
Questioncopy constructor needed? Pin
berndg23-Sep-03 2:59
berndg23-Sep-03 2:59 
AnswerRe: copy constructor needed? Pin
Heath Stewart23-Sep-03 3:12
protectorHeath Stewart23-Sep-03 3:12 
GeneralRe: copy constructor needed? Pin
Alvaro Mendez23-Sep-03 4:43
Alvaro Mendez23-Sep-03 4:43 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.