Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

(crazyinsomniac) Re: Perl/Tk Chatterbox Client

by crazyinsomniac (Prior)
on Jan 21, 2001 at 20:07 UTC ( [id://53336]=note: print w/replies, xml ) Need Help??


in reply to Perl/Tk Chatterbox Client

Hi ya Shendal, y'all

I needed to make the following 'small' changes to your LaunchBrowser subroutine.
Here goes(my 100th post):

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_P +ROCESS,".") || printError("Unable to launch browser: " . Win32::Forma +tMessage(Win32::GetLastError())); '; }

"cRaZy is co01, but sometimes cRaZy is cRaZy".
                                                      - crazyinsomniac

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://53336]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (5)
As of 2024-04-19 03:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found