note
crazyinsomniac
Hi ya [Shendal], y'all <P>
I needed to make the following 'small' changes to your LaunchBrowser subroutine.<br> Here goes(my 100th post):
<CODE>
eval '
use Win32::Process;
my $cmdline = "command.com";
my $appname = "$ENV{WINBOOTDIR}/command.com";
if(Win32::IsWinNT())
{
$cmdline = "cmd.exe";
$appname = "$ENV{SYSTEMROOT}/system32/cmd.exe";
}
$cmdline .= " /c start $url";
Win32::Process::Create($process,$appname,$cmdline,0,DETACHED_PROCESS,".") || printError("Unable to launch browser: " . Win32::FormatMessage(Win32::GetLastError()));
';
}
</CODE>
<P>
"cRaZy is co01, but sometimes cRaZy is cRaZy".
<BR> - crazyinsomniac
22273
22273