We have this working, here an example:
Assumed the name of your dialog is MYDIALOG. Put a BUTTON on the dialog, give the property name MYLINK. Doubleclick the button, select tab "Object Behavior", select the button in the "Control" drop-down and give as "Performs Action" = "Return from Dialog". Then in your code do the following:
Code: Select all
Display dialog: MYDIALOG, wait for dialog to return (modal)
if Variable WIZARD Equals MYLINK
Run Program http://www.hahn-mediaservice.de
GoTo Label: MYDIALOG
end
On clicking the button the default web-browser should open and navigate to
http://www.hahn-mediaservice.de AND return to the dialog itself.
Instead of the button you could also use the image control without using an image (because this is transparent, we do this). Give the image control the property name MYLINK and it works the same way. Put the image control where ever you want ... over an image, over text, anywhere you like to.
P.S.: Never use "...\internet explorer\iexplore.exe" because (a) you are not sure if this browser is installed on the target maschine and (b) you are not sure if this browser is the users default.
Kind regards!