Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re:

by httptech (Chaplain)
on Apr 30, 2000 at 19:40 UTC ( [id://9757]=note: print w/replies, xml ) Need Help??


in reply to How do I launch my browser in Win32 to go to a specified URL?

The wisdom of the anonymous monk led me on a quest to seek out the mysteries of Win32::API. However, I couldn't seem to make that work, but luckily I stumbled upon Win32::Shell, which solved all my problems:
use Win32::Shell; Win32::Shell::Execute("open", "http://www.perlmonks.org", undef, undef +, "SW_SHOWNORMAL");
It started the default browser opened to the correct URL, with no delay, and no console window.

Do I get extra XP for answering my own question? :)

Replies are listed 'Best First'.
RE: Re:
by buzzcutbuddha (Chaplain) on May 01, 2000 at 18:47 UTC
    I tried to find Win32::Shell, and I cannot find it. I looked in
    CPAN and I did not see it listed. Where did you find it? Thanks..
      Hi, I used the Win32::Shell to open the default browser, but is it possible to open two different windows from the same Perl App? So that one button opens Browser A and another button opens Browser B. Then is it possible to Send different URL's to browser A and Browser B? Regards Marty <Martin.Moss@excite.com>

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others browsing the Monastery: (2)
As of 2024-04-25 06:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found