ShowURL in same window and in same tab

hello,
How can open a link in the external browser in same window tab?
When I try to open a link using showurl(), then it opens in new tab.

Thanks,
Rui

That’s a setting within the browser. You’d have no control over that from your app.

Dim URL as String = “http://www.xojo.com
ExecuteJavascript(“window.location = '” + URL +"’;")

Hello Greg,

This item does not exist! > ExecuteJavascript
I missed something?

Thanks,
Rui

This method is only available for htmlviewer?

Yes.

Is this a web project or a desktop project?

hey Greg,

this is a desktop project that interacts with a web service.
I exclude htmlviewer and started to use the system’s default browser