I would like to have the action of a Button, launch IE (even if it is not the default browser and enter a URL to a site) The Site requires IE to work but many people have chome as their default so ShowURL alone will not work.
You can probably pass the URL as command line arguments to iexplorer.exe. You will have to locate it in Program Files. Be mindful that “Program Files (x86)” may also be available.
"C:\\Program Files (x86)\\Internet Explorer\\iexplore.exe" "https://www.google.com" works like a charm from the command prompt, but xojo does not like the syntax
Dim s As Shell
s = new Shell
s.execute("C:\\Program Files (x86)\\Internet Explorer\\iexplore.exe" "https://www.google.com")
s.Close
Any tips (well answer…really) to pass the Url through xojo to the shell.
I tried:
Dim s As Shell
s = new Shell
s.execute("C:\\Program Files (x86)\\Internet Explorer\\iexplore.exe" + "https://www.google.com")
Which Xojo will compile with no syntax error button the action does not do anything, IE does not launch.