Refresh
-
Hi, I have a VB application using a .Net(C#) dll.I made the application wait for particular time from the .net dll and during the wait if i move between other open windows,the VB application gets hanged or becomes blank screened. I tried using System.Windows.Forms.Application.DoEvents() to repaint the Vb application but it is that effective but of course makes little difference. I totally clueless :confused: Do not wait to strike till the iron is hot; but make it hot by striking.
-
Hi, I have a VB application using a .Net(C#) dll.I made the application wait for particular time from the .net dll and during the wait if i move between other open windows,the VB application gets hanged or becomes blank screened. I tried using System.Windows.Forms.Application.DoEvents() to repaint the Vb application but it is that effective but of course makes little difference. I totally clueless :confused: Do not wait to strike till the iron is hot; but make it hot by striking.
I got the same problem, but I made my program wait until another program is loaded. I´ve overcome this problem by making a loop on a timer, so It checks every 300ms if the program is loaded, so it´s not needed to wait anymore. =D -- modified at 1:44 Friday 2nd June, 2006
-
Hi, I have a VB application using a .Net(C#) dll.I made the application wait for particular time from the .net dll and during the wait if i move between other open windows,the VB application gets hanged or becomes blank screened. I tried using System.Windows.Forms.Application.DoEvents() to repaint the Vb application but it is that effective but of course makes little difference. I totally clueless :confused: Do not wait to strike till the iron is hot; but make it hot by striking.
Do the waiting operation on a separate thread[^]. That way, the UI will remain responsive while you wait.
Regards Senthil _____________________________ My Blog | My Articles | WinMacro