VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Typing directly into the WebBrowser Control

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?

Rate Typing directly into the WebBrowser Control

'INITIALISE THE CONTROL TO A BLANK PAGE
WebBrowser1.Navigate2 "about:blank"
'ENABLED DESIGN MODE
Set doc = WebBrowser1.Document
doc.DesignMode = "On"

Download this snippet    Add to My Saved Code

Typing directly into the WebBrowser Control Comments

No comments have been posted about Typing directly into the WebBrowser Control. Why not be the first to post a comment about Typing directly into the WebBrowser Control.

Post your comment

Subject:
Message:
0/1000 characters