Click here to Skip to main content
15,922,512 members
Home / Discussions / C#
   

C#

 
GeneralRe: windows using IIS Pin
Peter Vertes7-Jul-04 3:35
Peter Vertes7-Jul-04 3:35 
GeneralRe: windows using IIS Pin
Heath Stewart7-Jul-04 5:45
protectorHeath Stewart7-Jul-04 5:45 
QuestionHow to make row stay at the top in datatable Pin
Atlemann7-Jul-04 1:37
Atlemann7-Jul-04 1:37 
AnswerRe: How to make row stay at the top in datatable Pin
DougW487-Jul-04 7:09
DougW487-Jul-04 7:09 
GeneralRe: How to make row stay at the top in datatable Pin
Atlemann7-Jul-04 22:33
Atlemann7-Jul-04 22:33 
Generalcustom ListView header ctrl and XP theme Pin
Andy H7-Jul-04 1:17
Andy H7-Jul-04 1:17 
GeneralRe: custom ListView header ctrl and XP theme Pin
Heath Stewart7-Jul-04 5:39
protectorHeath Stewart7-Jul-04 5:39 
QuestionHow do I do double-click file opening with my C# app? Pin
spazzman7-Jul-04 0:18
spazzman7-Jul-04 0:18 
I've written an app in C# - let's call it Foo. Foo creates *.Bar files. I want to enable double click support in Windows for *.Bar files, so Windows automatically opens the file in a running instance of Foo.

I already know how to get Windows to start Foo up when I double click on a .Bar file - simply associate the file type using Windows Explorer (for example), and use the args[] string array argument in the Main(args[]) method of Foo. This acts as a list of files to open when Foo starts up. But what happens when Foo is _already_ running? What pathway does Windows use to send an open-file instruction to Foo? Does it go through the Main() method?

I've written Foo so only one instance of it will run at a time, so I need to be able to get Windows to tell the existing instance of Foo to open a file. Any ideas how this is done?

Thanks
AnswerRe: How do I do double-click file opening with my C# app? Pin
Dave Kreskowiak7-Jul-04 5:04
mveDave Kreskowiak7-Jul-04 5:04 
GeneralRe: How do I do double-click file opening with my C# app? Pin
spazzman7-Jul-04 12:01
spazzman7-Jul-04 12:01 
GeneralRe: How do I do double-click file opening with my C# app? Pin
MilesAhead7-Jul-04 12:27
MilesAhead7-Jul-04 12:27 
GeneralRe: How do I do double-click file opening with my C# app? Pin
Dave Kreskowiak7-Jul-04 12:39
mveDave Kreskowiak7-Jul-04 12:39 
GeneralRe: How do I do double-click file opening with my C# app? Pin
spazzman8-Jul-04 2:12
spazzman8-Jul-04 2:12 
GeneralWrong dimensions. Pin
6-Jul-04 21:26
suss6-Jul-04 21:26 
GeneralRe: Wrong dimensions. Pin
Hesham Amin6-Jul-04 22:55
Hesham Amin6-Jul-04 22:55 
GeneralRe: Wrong dimensions. Pin
Nick Z.6-Jul-04 23:28
Nick Z.6-Jul-04 23:28 
GeneralRe: Wrong dimensions. Pin
Heath Stewart7-Jul-04 5:27
protectorHeath Stewart7-Jul-04 5:27 
GeneralRe: Wrong dimensions. Pin
Nick Z.6-Jul-04 23:44
Nick Z.6-Jul-04 23:44 
GeneralMicrosoft wrote : filters property pages Pin
hpAng6-Jul-04 20:48
hpAng6-Jul-04 20:48 
GeneralRe: Microsoft wrote : filters property pages Pin
hpAng6-Jul-04 21:13
hpAng6-Jul-04 21:13 
GeneralRe: Microsoft wrote : filters property pages Pin
Heath Stewart7-Jul-04 5:23
protectorHeath Stewart7-Jul-04 5:23 
QuestionHow to Prevent decompile or dis-assembly c# project (.NET)? Pin
Anonymous6-Jul-04 20:07
Anonymous6-Jul-04 20:07 
AnswerRe: How to Prevent decompile or dis-assembly c# project (.NET)? Pin
Colin Angus Mackay7-Jul-04 0:24
Colin Angus Mackay7-Jul-04 0:24 
GeneralRe: How to Prevent decompile or dis-assembly c# project (.NET)? Pin
Heath Stewart7-Jul-04 5:17
protectorHeath Stewart7-Jul-04 5:17 
Answernot only you that face this problem :) Pin
Hesham Amin7-Jul-04 4:18
Hesham Amin7-Jul-04 4:18 

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.