[Gambas-user] Browser ?

Daniel Campos daniel.campos at ...338...
Tue Mar 8 11:48:10 CET 2005


Julien Barbier escribió:

> Hi Daniel, thanks for your quick answer !
>
> I tried this in cli, and it worked : $BROWSER http://www.google.com
>
> but when I try in gambas, it does,'t work :-/ 
>
> Here is my code :
>
>
>     PUBLIC SUB Button2_Click()
>
>       EXEC ["$BROWSER http://www.google. <http://www.google.fr>com"]
>
>     END
>
> Am I doing sth wrong ?
>
>
"EXEC" works with an array of strings, the first string is the command to
execute, and the next strings are parameters. As $BROWSER can be a single
command of varius commands and parameters, you should better try:

SHELL Application.Env["BROWSER"] & " " & "http://www.google. 
<http://www.google.fr>com"

Regards,

D. Campos





More information about the User mailing list