Kamis, 27 Mei 2021

Re: [MSAccessProfessionals] Display HTML content from Table in Webbrowser Control

Hi Ozair

Please quote all the previous conversation when you post an answer, so we can see the whole thread.

When the code stops at the error, and ".Open" is highlighted, what happens if you type in the Immediate window:

?Me.
WebBrowser0.Object

It should return with:
Microsoft Web Browser Control

If not, perhaps it is not a web browser control you have on your form.

(By the way, the code, copied and pasted from your question, works perfectly for me.)

Best wishes,
Graham Mandeno [Access MVP 1996-2017]

From: MSAccessProfessionals@groups.io <MSAccessProfessionals@groups.io> On Behalf Of ozairkhalidozair
Sent: Friday, 28 May 2021 16:42
To: MSAccessProfessionals@groups.io
Subject: Re: [MSAccessProfessionals] Display HTML content from Table in Webbrowser Control

 

Bill,

Thanks for your input.

Yes IntelliSense finds the webbrowser control name correctly. (As to confirm, I renamed it to "MyWebBrowserControl").
The error appears on first row AFTER "With" clause i.e. [.Open].

Any ideas?
Best,
Ozair

Tidak ada komentar:

Posting Komentar