[AccessD] Web browser control
Stuart McLachlan
stuart at lexacorp.com.pg
Thu May 19 21:03:45 CDT 2022
Create a Form.
Add an ActiveX Control - Microsoft Web Control (WbeBrowser0)
Add a Button (Command1)
Then the Form's module:
Option Compare Database
Option Explicit
Private Sub Command1_Click()
Dim s As String
s = Me.WebBrowser0.Object.Document.documentElement.outerHTML
MsgBox s
End Sub
Private Sub Form_Load()
Me.WebBrowser0.Object.Navigate "http://www.camcopng.com"
End Sub
On 19 May 2022 at 19:49, John Colby wrote:
> In a universe far far away the WebBrowserControl apparently had a
> document property which could be used to get at the actual html behind
> the scenes. I can't find anything about said document control any
> more, nor out on the web, except in C# etc. Nothing in VBA.
>
> Does anyone now how to reference the HTML behind the scenes in the
> control?
>
> --
> John W. Colby
> Colby Consulting
> --
> AccessD mailing list
> AccessD at databaseadvisors.com
> https://databaseadvisors.com/mailman/listinfo/accessd
> Website: http://www.databaseadvisors.com
>
More information about the AccessD
mailing list