triumphost 120 Posting Whiz

Ok So Im writing a program to setup another program... And now Im stuck cuz I want make "my program" click the next button on the "setup" and then I want it to click the radio buttons on the "setup" program... how would I got about being able to send the right commands to the window... so far I have no clue but maybe these codes below will help me a bit?

// 1. activate an application using its handle

sk.AppActivate(hWnd);

// 2. activate an application given its window title

sk.AppActivate("Title");

/// 3. activate an application given either or both of its window title/class

sk.AppActivate(NULL, "TheClass"); // NULL means this criteria is not avail


// 4. via SendKeys method

sk.SendKeys("{appactivate Notepad}hello");