Jeremy, Depending upon the granularity of control that you need, I like to use Win32::Job to launch another program.
Harlan --- Jeremy White <[EMAIL PROTECTED]> wrote: > > >Please tell me what is the correct way of running > another .exe program > >under > >Windows from a program made using Win32::GUI. > >For example I want to be able to press a button > which opens a separate > >program, but I don't want to maintain any relation > between those 2 > >programs. > >(Just like when the second program is opened from > Windows Explorer). > > Use Win32::GUI::ShellExecute > > http://perl-win32-gui.sourceforge.net/cgi-bin/docs.cgi?doc=reference-methods > > Cheers, > > jez. > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a > groundbreaking scripting language > that extends applications into web and mobile media. > Attend the live webcast > and join the prime developer group breaking into > this new coding territory! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 > _______________________________________________ > Perl-Win32-GUI-Users mailing list > Perl-Win32-GUI-Users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/perl-win32-gui-users > http://perl-win32-gui.sourceforge.net/ > ------------------------------------------ Harlan Carvey, CISSP "Windows Forensics and Incident Recovery" http://www.windows-ir.com http://windowsir.blogspot.com ------------------------------------------