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

C#

 
GeneralBinding Manger Woes Pin
Wjousts23-Sep-03 8:02
Wjousts23-Sep-03 8:02 
GeneralRe: Binding Manger Woes Pin
Wjousts23-Sep-03 10:43
Wjousts23-Sep-03 10:43 
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 
I have a C# app which I want to receive input from other external sources (mainly the OS and IE) when a certain type of file or resource is launched by the user. I.E. if my app is running and someone opens up a file on the OS with the extension ".xyz" I want my running app to receive it (similar if someone clicks on that mime-type in the browser) or it to launch my app and read it if its not running.

I did some hunting around and it seems that if that type is associated with my app in the OS it will attempt to launch my application. I have code in my main method to check to see if a process for my app is already running so I have that covered. However, how do I read the stream coming in to me (standard in threw exceptions) and what is the best way to pass that to my already running app from my main method? I could have my app listening on a port but that seems a bit much. I tried playing with standard in to no avail.

Any help would be appreciated.

PS Also, if someone can inform me of the best OS way of associating my app upon install with both a specific file extension and an IE mime-type that would also be appreciated.
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 
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 

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.