Click here to Skip to main content
16,005,236 members
Home / Discussions / C#
   

C#

 
GeneralRe: Restoring a previous instance. Pin
Heath Stewart30-Aug-04 9:51
protectorHeath Stewart30-Aug-04 9:51 
GeneralRe: Restoring a previous instance. Pin
Dionne30-Aug-04 9:54
Dionne30-Aug-04 9:54 
GeneralRe: Restoring a previous instance. Pin
Heath Stewart30-Aug-04 10:54
protectorHeath Stewart30-Aug-04 10:54 
GeneralRe: Restoring a previous instance. Pin
Nick Parker30-Aug-04 9:53
protectorNick Parker30-Aug-04 9:53 
GeneralRe: Restoring a previous instance. Pin
Dionne30-Aug-04 10:06
Dionne30-Aug-04 10:06 
GeneralRe: Restoring a previous instance. Pin
Nick Parker30-Aug-04 10:30
protectorNick Parker30-Aug-04 10:30 
GeneralRe: Restoring a previous instance. Pin
Dionne30-Aug-04 10:57
Dionne30-Aug-04 10:57 
GeneralRe: Restoring a previous instance. Pin
mav.northwind30-Aug-04 22:21
mav.northwind30-Aug-04 22:21 
You might want to take a look at this article[^] by Chris Anderson.
From my experience the next thing you'll want is to delegate commandline options to the running instance, and that's something that can be achieved really easily using the ApplicationFramework provided by Chris.

A few little caveats, though:
When using .NET 1.1 you'll have to modify the code to include the required typeFilterLevel property for the channel used or else you'll get security exceptions.
You should add an InitializeLifetimeService() override returning null or else you won't be able to activate your previous instance after 2 minutes.
If you plan to use remoting in your application yourself you should remove the channel property bindTo = "127.0.0.1" (all three in UserApplicationContext.cs) or you'll get strange errors when handling remote events.

Regards,
mav
QuestionCrystal Report print? Pin
murali_utr30-Aug-04 9:01
murali_utr30-Aug-04 9:01 
QuestionHow to clear selected items from multiple checkedlistboxes Pin
abhishk2001@yahoo.com30-Aug-04 8:40
abhishk2001@yahoo.com30-Aug-04 8:40 
AnswerRe: How to clear selected items from multiple checkedlistboxes Pin
Nick Parker30-Aug-04 9:27
protectorNick Parker30-Aug-04 9:27 
AnswerRe: How to clear selected items from multiple checkedlistboxes Pin
Heath Stewart30-Aug-04 9:47
protectorHeath Stewart30-Aug-04 9:47 
GeneralRe: ISA bus access Pin
Dave Kreskowiak30-Aug-04 7:47
mveDave Kreskowiak30-Aug-04 7:47 
Generalget drive roots Pin
fire.fox30-Aug-04 7:36
fire.fox30-Aug-04 7:36 
GeneralRe: get drive roots Pin
Heath Stewart30-Aug-04 8:10
protectorHeath Stewart30-Aug-04 8:10 
GeneralRe: get drive roots Pin
leppie30-Aug-04 22:23
leppie30-Aug-04 22:23 
GeneralRe: get drive roots Pin
Heath Stewart31-Aug-04 6:15
protectorHeath Stewart31-Aug-04 6:15 
Generalpopulate treeview with dataset Pin
Anonymous30-Aug-04 7:01
Anonymous30-Aug-04 7:01 
GeneralRe: populate treeview with dataset Pin
Heath Stewart30-Aug-04 7:49
protectorHeath Stewart30-Aug-04 7:49 
QuestionCan apple ArrayList in string[] Pin
arbrsoft30-Aug-04 6:57
arbrsoft30-Aug-04 6:57 
AnswerRe: Can apple ArrayList in string[] Pin
Judah Gabriel Himango30-Aug-04 7:02
sponsorJudah Gabriel Himango30-Aug-04 7:02 
GeneralNested UserControls Pin
Den2Fly30-Aug-04 6:16
Den2Fly30-Aug-04 6:16 
GeneralRe: Nested UserControls Pin
Charlie Williams30-Aug-04 6:24
Charlie Williams30-Aug-04 6:24 
GeneralRe: Nested UserControls Pin
Nick Parker30-Aug-04 6:25
protectorNick Parker30-Aug-04 6:25 
QuestionHas anyone attempted synchronized scolling? Pin
LongRange.Shooter30-Aug-04 6:12
LongRange.Shooter30-Aug-04 6:12 

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.