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

C#

 
GeneralRe: Really hard question #1 Pin
jeff_martin14-May-03 5:48
jeff_martin14-May-03 5:48 
Generalquestion on format color for DataGrid Pin
cruscal13-May-03 18:14
cruscal13-May-03 18:14 
QuestionResizable control? Pin
Wmzong13-May-03 16:41
Wmzong13-May-03 16:41 
GeneralDataGrid... Row Selection & Column Header Alignment Pin
jmt9n13-May-03 13:28
jmt9n13-May-03 13:28 
Generaliconic child window Pin
Anonymous13-May-03 12:44
Anonymous13-May-03 12:44 
GeneralWindows Form Dialog when Logged Out Pin
Ingram Leedy13-May-03 10:53
Ingram Leedy13-May-03 10:53 
GeneralRe: Windows Form Dialog when Logged Out Pin
IrvTheSwirv14-May-03 2:01
sussIrvTheSwirv14-May-03 2:01 
GeneralRe: Windows Form Dialog when Logged Out Pin
Ingram Leedy14-May-03 10:56
Ingram Leedy14-May-03 10:56 
I'm really after this - I have a progress form that is showing various information to the user when he is interactive.

Now if this application gets started non-interatively (ie, thru task scheduler when the user is logged out), I need the application to keep running as normal. It doesnt matter that the user sees the dialog or not.


Here is an example code:

ProgressForm progress = new ProgressForm();<br />
<br />
System.Threading.ThreadPool.QueueUserWorkItem( new System.Threading.WaitCallback( PerformCalculations ), progress );<br />
<br />
progress.ShowDialog();<br />
progress.Dispose();


Inside, my PerformCalculations there are bunches of callbacks to the form to update.

Is there a simple way to make the application behave the same for both interactive and non interactive?

Thanks!


Ingram Leedy

You can't depend on your eyes when your imagination is out of focus.
--Mark Twain

GeneralWindows Forms Pin
pahlsson13-May-03 10:11
pahlsson13-May-03 10:11 
GeneralRe: Windows Forms Pin
David Stone13-May-03 10:38
sitebuilderDavid Stone13-May-03 10:38 
GeneralRe: Windows Forms Pin
pahlsson13-May-03 22:39
pahlsson13-May-03 22:39 
QuestionHow to get screen area Pin
J. Dunlap13-May-03 9:24
J. Dunlap13-May-03 9:24 
AnswerRe: How to get screen area Pin
leppie13-May-03 11:49
leppie13-May-03 11:49 
GeneralRe: How to get screen area Pin
J. Dunlap13-May-03 18:17
J. Dunlap13-May-03 18:17 
QuestionFind the namespace an object is from? Pin
FruitBatInShades13-May-03 8:43
FruitBatInShades13-May-03 8:43 
AnswerRe: Find the namespace an object is from? Pin
leppie13-May-03 9:05
leppie13-May-03 9:05 
GeneralRe: Find the namespace an object is from? Pin
FruitBatInShades13-May-03 9:28
FruitBatInShades13-May-03 9:28 
GeneralControls created in one thread cannot parent in other thread - delegate. Pin
Mrso13-May-03 5:37
Mrso13-May-03 5:37 
GeneralRe: Controls created in one thread cannot parent in other thread - delegate. Pin
leppie13-May-03 9:07
leppie13-May-03 9:07 
GeneralRe: Controls created in one thread cannot parent in other thread - delegate. Pin
Mrso14-May-03 4:19
Mrso14-May-03 4:19 
GeneralRe: Controls created in one thread cannot parent in other thread - delegate. Pin
Richard Deeming14-May-03 5:35
mveRichard Deeming14-May-03 5:35 
Generaladding form to a panel Pin
zuhx13-May-03 5:30
zuhx13-May-03 5:30 
General[Announce] diagnosing interop marshaling Pin
Stephane Rodriguez.13-May-03 5:15
Stephane Rodriguez.13-May-03 5:15 
GeneralRe: [Announce] diagnosing interop marshaling Pin
David Stone13-May-03 5:23
sitebuilderDavid Stone13-May-03 5:23 
GeneralRe: [Announce] diagnosing interop marshaling Pin
Kant13-May-03 6:15
Kant13-May-03 6:15 

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.