Advertisement
3_2004-2005 Internet/ HTML #143735

Typing directly into the WebBrowser Control

After spending a long time trying to find (there is nothing else on PSC)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?

AI

Resumo por IA: This codebase represents a historical implementation of the logic described in the metadata. Our preservation engine analyzes the structure to provide context for modern developers.

Código fonte
original-source
'INITIALISE THE CONTROL TO A BLANK PAGE
WebBrowser1.Navigate2 "about:blank"
'ENABLED DESIGN MODE
Set doc = WebBrowser1.Document
doc.DesignMode = "On"
Comentários originais (3)
Recuperado do Wayback Machine