Advertisement
5_2007-2008 Internet/ HTML #172652

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

Resumen de 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 fuente
original-source
'INITIALISE THE CONTROL TO A BLANK PAGE
WebBrowser1.Navigate2 "about:blank"
'ENABLED DESIGN MODE
Set doc = WebBrowser1.Document
doc.DesignMode = "On"
Comentarios originales (3)
Recuperado de Wayback Machine