PDA

View Full Version : Launching web page



NewsArchive
03-21-2012, 02:38 AM
Pardon for me asking what will probably be an obvious question.

How can I launch a web page from a SetupBuilder Script ?

Michael Brooks

NewsArchive
03-21-2012, 02:39 AM
Michael,

> Pardon for me asking what will probably be an obvious question.
>
> How can I launch a web page from a SetupBuilder Script ?

You can use the "Run Program..." script function (see attached screenshot).

Friedrich

NewsArchive
03-23-2012, 01:39 AM
Excellent

Michael Brooks

NewsArchive
03-23-2012, 01:39 AM
Don't know what I'm doing wrong. This is not working.
Nothing happens when I use the "Run" box using exactly the image you
provided exacpt with a different wab page.
Any typical hints you can provide ?
Mike

NewsArchive
03-23-2012, 01:40 AM
Mike,

> Don't know what I'm doing wrong. This is not working.
> Nothing happens when I use the "Run" box using exactly the image
> you provided exacpt with a different wab page.
> Any typical hints you can provide ?

I have attached a demo .sb7 project.

Friedrich

NewsArchive
03-24-2012, 02:27 AM
Excellent. Thank you.

Michael Brooks

NewsArchive
03-24-2012, 02:27 AM
>
> Excellent. Thank you.
>

You are welcome :)

Friedrich

NewsArchive
03-24-2012, 02:27 AM
Friedrich,

Yes that is the identical code that I am using.

When I compile and run your example the web page does not launch.

Michael Brooks

NewsArchive
03-24-2012, 02:28 AM
Have you checked for errors?

Maybe there's a problem of no associated program on the elevated
setup? Just a thought.

Jeff Slarve
www.jssoftware.com
www.twitter.com/jslarve
This post may self-destruct at any moment

NewsArchive
03-29-2012, 12:37 AM
The associated program would be Internet Explorer and it works fine in my
Clarion code when I launch a web link.

Michael Brooks

NewsArchive
03-29-2012, 12:37 AM
Does it work if you run it elevated?

Jeff Slarve
www.jssoftware.com
www.twitter.com/jslarve
This post may self-destruct at any moment

NewsArchive
03-29-2012, 12:37 AM
Michael,

> The associated program would be Internet Explorer and it works fine in
> my Clarion code when I launch a web link.

If it does not work for you then (IMO) "something" is broken on your
machine.

The ShellExecuteEx Windows API launches the default Web Browser to open the
page. Just for fun, try it on another machine and I am sure it works :)

BTW, do not run the example in TEST mode because the installer does not
execute external programs when running in TEST mode.

Friedrich