Skip to main content
This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal

HCL Notes/Domino 8.5 Forum (includes Notes Traveler)

HCL Notes/Domino 8.5 Forum (includes Notes Traveler)

Previous Next

@URLOpen uses the settings in the user's location document

If you want to bypass the user's preferences, then you will have to write LotusScript code to call a function similar to this:



Const OBJNAME_IE = "InternetExplorer.Application"
Const IE_READYSTATE_COMPLETE = 4 ' http://msdn.microsoft.com/workshop/browser/webbrowser/reference/enums/readystate_enum.asp
Const ERR_IE_FAILURE = "Internet Explorer did not retrieve the requested page. Check your network connection and settings."

Sub launchBrowser(navigateURI As String)

' Use COM automation to launch IE to specific URL

Dim IE As Variant

Set IE = CreateObject(OBJNAME_IE) ' create and attach to IE object
IE.Navigate(navigateURI) ' give it the URI
Do While (IE.ReadyState <> IE_READYSTATE_COMPLETE) ' wait for completion
Sleep(1)
Loop

If IE.Document Is Nothing Then ' if we didn't get a document, then report an error
Messagebox(ERR_IE_FAILURE)
Exit Sub
End If

IE.Visible = True ' surface the window

End Sub



However, the above code will only work for Internet Explorer on windows. I have not worked out the code for any other browser or platform.

-rich


Feedback response number WEBB8WAN6U created by ~Ned Nimfanakonyoopsi on 07/17/2012

How to open a new internet browser ... (~Rex Fezwecheka... 17.Jul.12)
. . @URLOpen uses the settings in the u... (~Ned Nimfanakon... 17.Jul.12)




Printer-friendly

Search this forum

Member Tools


RSS Feeds

 RSS feedsRSS
All forum posts RSS
All main topics RSS