• Not Answered

DeltaV Embedded Web Browser

I'd like to use a string variable as a URL for the browser. It seems this can't be done directly as "Me.Webbrowser1.Navigate strVar"... I've tried embedding quote marks in the string as you would have with a normal hard coded text URL here. What would be the correct syntax or function to convert the strVar to a URL? 

2 Replies

  • This is the code I have used to launch a browser window from DeltaV Operate:

    Dim Path As String
    Dim ie As Object
    Path = "emersonexchange365.com"
    Set ie = CreateObject("internetexplorer.application")
    ie.navigate Path
    ie.Visible = True

    What behavior/error are you getting? My guess is you may have left out the last line that makes the object visible.
  • In reply to Bill Tinley:

    Thank you very much for the reply... After seeing your code I went back and reviewed mine again. I did find an error and the URL as string is working. This one's on me. Problem solved. Thanks again.