how to run continuous loop in windows application without affecting the running application

shasha960

Honorable
Sep 3, 2013
11
0
10,560
0
i am developing a application like ATM. I need a continuous loop that run behind the screen which require authentication. but it should not affect the shown screen. which is the best way to do this. please suggest solution for this. i am waiting...
thanks in advance.....................
 

shasha960

Honorable
Sep 3, 2013
11
0
10,560
0


sorry for that.. i am using vb.net...
 

shasha960

Honorable
Sep 3, 2013
11
0
10,560
0


Thanks for this valuable reply. but i create a sample app using the given code in visual studio 2008. it shows a error that "Cross-thread operation not valid: Control 'ProgressBar1' accessed from a thread other than the thread it was created on".
 

shasha960

Honorable
Sep 3, 2013
11
0
10,560
0
finally i found a solution for me.
to create running watch in application,
i) add a timer, and label in windows form
ii) in form load,
timer1 =new timer
addhandler timer1_tick, Addressof timer1_tick
Timer1.start()
iii) Then double click timer
label1.text=timerofday.


this runs continuously without affecting the other process in windows form.
thank you.....
 
Thread starter Similar threads Forum Replies Date
omar muzzammil Apps General Discussion 1
David___Only Apps General Discussion 0
N Apps General Discussion 1
kahoona Apps General Discussion 2
S Apps General Discussion 2
O Apps General Discussion 1
D Apps General Discussion 3
Iver Hicarte Apps General Discussion 3
G Apps General Discussion 1
T Apps General Discussion 1
WyomingKnott Apps General Discussion 9
Marshall Honorof Apps General Discussion 15
S Apps General Discussion 1
J Apps General Discussion 1
User3335 Apps General Discussion 3
J Apps General Discussion 2
o2Fresh4u Apps General Discussion 2
T Apps General Discussion 2
S Apps General Discussion 1
L Apps General Discussion 2

ASK THE COMMUNITY