Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

(crazyinsomniac) Re: Perl/Tk Chatterbox Client

by crazyinsomniac (Prior)
on Jan 21, 2001 at 20:07 UTC ( #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
Node Status?
node history
Node Type: note [id://53336]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (5)
As of 2017-02-23 23:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Before electricity was invented, what was the Electric Eel called?






    Results (351 votes). Check out past polls.