Using FindWindow in vb.NET 05
Hey yall, I decided to take my Download Blocker to vb.net from vb6. In vb6 I used a imer to look for the Download Windows every second, I tried that with .net and I couldnt get it to work. I dont know where a good place would be to put it in, It needs to look for the windows every second so everything is caught. I have tried Form1_Load,, Activate and Timer_Ticker, Disposed. I cant get any of them to work. Please give me a few ways I could do this or where I could put it. I once put it in Btnblock_Click and it found the window, So I know it is finding the window but I dont think the user wants to clikc that button everything something needs to be blocked. lol
But anyway I know its finding the window I juts need to put it in a place where it will be looking for it all the time. Thanks again yall
__________________
Forgiveness is the fragrance that the violet sheds on the heal that has crushed it. - Mark Twain
Destruction leads to a very rough road, but it also breeds creation.
|