Click here to Skip to main content
15,899,313 members
Home / Discussions / C#
   

C#

 
QuestionHow-To Create Dynamic Webservice Detection? Pin
DudleyDoorite23-Sep-03 11:20
DudleyDoorite23-Sep-03 11:20 
QuestionC# Question: static int amountopen = (0 - 500); ??? Pin
Chua Wen Ching23-Sep-03 10:59
Chua Wen Ching23-Sep-03 10:59 
AnswerRe: C# Question: static int amountopen = (0 - 500); ??? Pin
Alvaro Mendez23-Sep-03 11:13
Alvaro Mendez23-Sep-03 11:13 
GeneralRe: C# Question: static int amountopen = (0 - 500); ??? Pin
Chua Wen Ching23-Sep-03 11:21
Chua Wen Ching23-Sep-03 11:21 
GeneralRe: C# Question: static int amountopen = (0 - 500); ??? Pin
Alvaro Mendez23-Sep-03 11:48
Alvaro Mendez23-Sep-03 11:48 
GeneralRe: C# Question: static int amountopen = (0 - 500); ??? Pin
Chua Wen Ching23-Sep-03 22:53
Chua Wen Ching23-Sep-03 22:53 
GeneralDefault type access modifier Pin
Rohde23-Sep-03 10:27
Rohde23-Sep-03 10:27 
GeneralRe: Default type access modifier Pin
Alvaro Mendez23-Sep-03 11:03
Alvaro Mendez23-Sep-03 11:03 
GeneralRe: Default type access modifier Pin
Blake Coverett23-Sep-03 16:15
Blake Coverett23-Sep-03 16:15 
GeneralRe: Default type access modifier Pin
Alvaro Mendez23-Sep-03 18:30
Alvaro Mendez23-Sep-03 18:30 
GeneralRe: Default type access modifier Pin
Blake Coverett23-Sep-03 21:20
Blake Coverett23-Sep-03 21:20 
GeneralRe: Default type access modifier Pin
Rohde23-Sep-03 23:03
Rohde23-Sep-03 23:03 
GeneralReading/Writing a CMYK Bitmap Pin
Matt Philmon23-Sep-03 10:08
Matt Philmon23-Sep-03 10:08 
GeneralRe: Reading/Writing a CMYK Bitmap Pin
Blake Coverett23-Sep-03 16:19
Blake Coverett23-Sep-03 16:19 
GeneralSending mail with HTML link in it Pin
Tartampion23-Sep-03 9:35
Tartampion23-Sep-03 9:35 
GeneralRe: Sending mail with HTML link in it Pin
Marshall Rosenstein23-Sep-03 9:44
Marshall Rosenstein23-Sep-03 9:44 
GeneralRe: Sending mail with HTML link in it Pin
Tartampion23-Sep-03 13:03
Tartampion23-Sep-03 13:03 
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.

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.