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

C#

 
AnswerRe: Making an app not function after some time Pin
Luis Alonso Ramos11-Apr-06 7:43
Luis Alonso Ramos11-Apr-06 7:43 
Questionhow to decalare varible Pin
papa198011-Apr-06 2:33
papa198011-Apr-06 2:33 
AnswerRe: how to decalare varible Pin
naglbitur11-Apr-06 2:42
naglbitur11-Apr-06 2:42 
GeneralRe: how to decalare varible Pin
papa198011-Apr-06 2:58
papa198011-Apr-06 2:58 
AnswerRe: how to decalare varible Pin
Rob Philpott11-Apr-06 6:50
Rob Philpott11-Apr-06 6:50 
QuestionLaunching application from another application Pin
zaboboa11-Apr-06 2:10
zaboboa11-Apr-06 2:10 
AnswerRe: Launching application from another application Pin
J4amieC11-Apr-06 2:28
J4amieC11-Apr-06 2:28 
GeneralRe: Launching application from another application Pin
zaboboa11-Apr-06 2:31
zaboboa11-Apr-06 2:31 
GeneralRe: Launching application from another application Pin
Jim Bennett11-Apr-06 5:20
Jim Bennett11-Apr-06 5:20 
Read up on .Net app domains. What are you trying to do? Do you have to have a separate application or process running? Ok, only having one running app makes life easier so that you can use object references and all that. The app is already running, just show some forms without using threads. The UI is the UI. It should be thin. You don't have to model the UI after the physical implementation details (threads). Use the minimal amount of threads to do some work so that the UI isn't hung up waiting for a calcuation to finish (the UI remains snappy). When the thread is done, update the form UI to present it to the user. A form should not have much code in it, it is just the presentation to the user. Lookup BeginInvoke() on CP and google.

If you really want to have some fun, you could use .Net Remoting to talk between apps. This way you can have independent apps up and they can talk to each other. Usually this is done when you have the exes running on separate machines.

Jim
GeneralRe: Launching application from another application Pin
zaboboa11-Apr-06 5:48
zaboboa11-Apr-06 5:48 
GeneralRe: Launching application from another application Pin
Jim Bennett11-Apr-06 7:10
Jim Bennett11-Apr-06 7:10 
Questionhow to create a floating toolbar in c#? Pin
Sasuko11-Apr-06 2:07
Sasuko11-Apr-06 2:07 
AnswerRe: how to create a floating toolbar in c#? Pin
deanofharvard12-Apr-06 9:49
deanofharvard12-Apr-06 9:49 
QuestionTAPI driver (kind of) Pin
IAmChris11-Apr-06 1:20
IAmChris11-Apr-06 1:20 
AnswerRe: TAPI driver (kind of) Pin
Michael P Butler11-Apr-06 4:07
Michael P Butler11-Apr-06 4:07 
GeneralRe: TAPI driver (kind of) Pin
IAmChris11-Apr-06 23:52
IAmChris11-Apr-06 23:52 
QuestionChanging refresh rate Pin
Da_Masca11-Apr-06 0:51
Da_Masca11-Apr-06 0:51 
Questionimporting an exe as an assembly Pin
shezh11-Apr-06 0:48
shezh11-Apr-06 0:48 
QuestionHow to make time limited Trial Version Pin
emran83410-Apr-06 23:49
emran83410-Apr-06 23:49 
QuestionException has been thrown by the target of an Invocation Pin
emran83410-Apr-06 23:35
emran83410-Apr-06 23:35 
AnswerRe: Exception has been thrown by the target of an Invocation Pin
Robert Rohde11-Apr-06 0:08
Robert Rohde11-Apr-06 0:08 
GeneralRe: Exception has been thrown by the target of an Invocation Pin
Jim Bennett11-Apr-06 5:25
Jim Bennett11-Apr-06 5:25 
QuestionFinding Desktop icons a user clicked on Pin
royk12310-Apr-06 23:21
royk12310-Apr-06 23:21 
Questionworkaround Pin
V.10-Apr-06 23:17
professionalV.10-Apr-06 23:17 
AnswerRe: workaround Pin
S. Senthil Kumar11-Apr-06 17:56
S. Senthil Kumar11-Apr-06 17:56 

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.