by Roderick Thompson, CebraSoft (2 Submissions)
Category: Internet/HTML
Compatability: Visual Basic 5.0
Difficulty: Advanced
Date Added: Wed 3rd February 2021
Rating: (2 Votes)
After spending a long time trying to find (there is nothing else on VBC)this code and eventually sourcing it, I thought I would share this with you all! Did you know it is possible to type directly into the WebBrowser control in VB with just 3 lines of code?
'INITIALISE THE CONTROL TO A BLANK PAGE
WebBrowser1.Navigate2 "about:blank"
'ENABLED DESIGN MODE
Set doc = WebBrowser1.Document
doc.DesignMode = "On"