ASV
14 years agoContributor
Waiting VBObject
Hi
I write this code
1.Dim t, Timeout
2.t = 0
3.
4. Do While (Not wMDIClient.VBObject("frmPttel").VisibleOnScreen) and t < Timeout
5. BuiltIn.Delay(1000)
6. t = t + 1
7. Loop
when TC comes in line 4, it's pausing some seconds. I don't want that pause(I think this is a problem).Anybody can help me what to do avoid this problem.
Thanks.
I write this code
1.Dim t, Timeout
2.t = 0
3.
4. Do While (Not wMDIClient.VBObject("frmPttel").VisibleOnScreen) and t < Timeout
5. BuiltIn.Delay(1000)
6. t = t + 1
7. Loop
when TC comes in line 4, it's pausing some seconds. I don't want that pause(I think this is a problem).Anybody can help me what to do avoid this problem.
Thanks.