Kamis, 27 Mei 2021

[MSAccessProfessionals] Display HTML content from Table in Webbrowser Control

[Edited Message Follows]

Hi all,

I found an interesting article and liked the idea very much.
https://www.devhut.net/2019/10/18/everything-you-never-wanted-to-know-about-the-access-webbrowser-control/

From this tutorial, I am actually interested in Dynamic Content on the Fly.
Unfortunately its not working in my file.
All I see is "Object variable or With block variable not set"
Can someone please help?
Copied Code
Private Sub Form_Current()
With Me.WebBrowser0.Object.Document
    .Open
    .Write "<HTML> <H1> hello world! </H1> </HTML>"
    .Close
End With
 
End Sub
 

System Detail

Office 2016   64 Bit
Windows 10  64 Bit 
EDIT : Not sure if it was needed but I already added Reference for "Microsoft HTML Object Library" anyway.


Best,
Ozair

_._,_._,_

Groups.io Links:

You receive all messages sent to this group.

View/Reply Online (#116000) | Reply To Group | Reply To Sender | Mute This Topic | New Topic
Your Subscription | Contact Group Owner | Unsubscribe [sugeng.panjalu.access@blogger.com]

_._,_._,_

Tidak ada komentar:

Posting Komentar