Click here to Skip to main content
15,918,303 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionThrading with gui? Pin
EnigmaRulez13-Mar-07 4:39
EnigmaRulez13-Mar-07 4:39 
AnswerRe: Thrading with gui? Pin
Eduard Keilholz13-Mar-07 6:53
Eduard Keilholz13-Mar-07 6:53 
- Create a new class doing all your heavy work...
- Create a public function to 'start' the work...
- Let the class raise an event if the work is done..

In your app create an instance of the class and an event handler which handles your event.
Create a new thread calling the exposed (public) function and start the tread.
The event will be raised when the work is done.

Note you cannot do any GUI interface changes in the event handler because the event was called from a difrent thread. Create a delegate in your 'main app class' which can be called using Invoke() from the event handler...


Hrmm... confusing explanationD'Oh! | :doh: ... hope you understand it Wink | ;)

.: I love it when a plan comes together :.
http://www.zonderpunt.nl

AnswerRe: Thrading with gui? Pin
Sandeep Akhare13-Mar-07 6:57
Sandeep Akhare13-Mar-07 6:57 
GeneralRe: Thrading with gui? Pin
EnigmaRulez13-Mar-07 12:44
EnigmaRulez13-Mar-07 12:44 
QuestionRemove CSS class in C# Pin
digsy_13-Mar-07 3:54
digsy_13-Mar-07 3:54 
AnswerRe: Remove CSS class in C# Pin
Sandeep Akhare13-Mar-07 6:25
Sandeep Akhare13-Mar-07 6:25 
GeneralRe: Remove CSS class in C# Pin
digsy_13-Mar-07 6:34
digsy_13-Mar-07 6:34 
QuestionHow to Edit The SOAP Header in Visual Studio.NET Pin
w13RTH70Lo13-Mar-07 3:27
w13RTH70Lo13-Mar-07 3:27 
QuestionResizing Picture box in StrechImage mode and Gradiant problem!!!??? Pin
Narenge13-Mar-07 2:46
Narenge13-Mar-07 2:46 
QuestionWebservice object parameters from seperate assembly Pin
bradz1513-Mar-07 2:32
bradz1513-Mar-07 2:32 
AnswerRe: Webservice object parameters from seperate assembly Pin
Paddy Boyd13-Mar-07 4:34
Paddy Boyd13-Mar-07 4:34 
GeneralRe: Webservice object parameters from seperate assembly Pin
bradz1513-Mar-07 5:49
bradz1513-Mar-07 5:49 
Questionhow to get text from captcha image Pin
uday_kiran13-Mar-07 2:19
uday_kiran13-Mar-07 2:19 
AnswerRe: how to get text from captcha image Pin
badgrs13-Mar-07 2:46
badgrs13-Mar-07 2:46 
AnswerRe: how to get text from captcha image Pin
Sandeep Akhare13-Mar-07 2:56
Sandeep Akhare13-Mar-07 2:56 
QuestionI need your Opinion about this matter Pin
blitz2bleach13-Mar-07 2:17
blitz2bleach13-Mar-07 2:17 
AnswerRe: I need your Opinion about this matter Pin
Guffa13-Mar-07 7:08
Guffa13-Mar-07 7:08 
QuestionFormView Pin
Tyrone_whitey13-Mar-07 2:05
Tyrone_whitey13-Mar-07 2:05 
QuestionWhat is the point of using .NET data sources? Pin
DaveRRR13-Mar-07 1:56
DaveRRR13-Mar-07 1:56 
AnswerRe: What is the point of using .NET data sources? Pin
kubben13-Mar-07 3:06
kubben13-Mar-07 3:06 
QuestionResizing table Pin
Jeeva Mary Varghese13-Mar-07 1:44
Jeeva Mary Varghese13-Mar-07 1:44 
AnswerRe: Resizing table Pin
mareers13-Mar-07 1:55
mareers13-Mar-07 1:55 
QuestionHow to pass parameters to Sub Report from Main Report ? Pin
prakash_21013-Mar-07 1:34
prakash_21013-Mar-07 1:34 
QuestionImagebuttons Pin
nclauder13-Mar-07 1:32
nclauder13-Mar-07 1:32 
QuestionExtracting web page using ASP Pin
Imthu13-Mar-07 1:27
Imthu13-Mar-07 1:27 

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.