Launch default browser from desktop app

I need to be able to launch a web app from a desktop app. HTMLViewer is not much help as it does not support cookies on Windows. I was hoping that shelling out to an http address would do it, but no such luck. Any other ideas?

Use ShowURL. It opens your default browser to the given address. Or do you need to keep the two tied together somehow?

Your web app is on an Internet host, right ?

If it is on the same machine as standalone, you want to launch it with a shell, then use showURL(http://127.0.0.1:80) to have your browser open on the web app, assuming you have chosen the default port for your web app.

Thank you

Michel,

How do you launch it with a shell command? I am trying to do the same thing.

[quote=144784:@Larry Cluchey]Michel,

How do you launch it with a shell command? I am trying to do the same thing.[/quote]

Build a standalone program, point to the executable with a folderitem, then shell.execute f.shellpath+" --port=8080". Or whatever other port you like.

It works the same in Mac and Windows.

Make sure to note the listening port, usually 80 as default, and in the brwoser, point to

http://localhost:8080 or http://127.0.0.1:8080