Danmilkman Posted March 9, 2004 Posted March 9, 2004 I'm tryin to do the same thing with waitforidle methods. Getting the windowtitle and handle for manipulating the size and position. However when I start iexplore.exe (p. example) it terminates before loading the complete website. Please help, perhaps some example coding? Thnx. Quote Intellectuals solve problems, geniuses prevent them!
HJB417 Posted March 9, 2004 Posted March 9, 2004 This will get some/most of the info you need. A wrapper class around Win32 windows - supports enumerating desktop windows, getting window placement, sending messages, and taking screenshots. Updated to get fix a memory leak on screenshots Quote
Danmilkman Posted March 10, 2004 Author Posted March 10, 2004 That's not what I meant. I already found that wrapper. :D I'm starting processes from vb.net with Process.start(); However sometimes it seems that the mainwindowhandle for such a process is immediately 0. I can't get the window handle anymore from that process. Is there a workaround? Every window has it's own unique handle so it shouldn't be 0 right. Also the waitforidle method doesn't seem to be doing anything. :-( Help please? Quote Intellectuals solve problems, geniuses prevent them!
HJB417 Posted March 10, 2004 Posted March 10, 2004 Did you try Process.Refresh or create a new instance of the Process object using Process.GetProcessById ? Also, is Process.WaitForInputHandle returning false? Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.