Back

VB034

SendKeys usage

Visual Basic 6
Warning
VB6

SendKeys types into whatever window has focus at that instant; it breaks when a dialog steals focus and trips UAC/UIPI on modern Windows

SendKeys types into whatever window has focus at that instant; it breaks when a dialog steals focus and trips UAC/UIPI on modern Windows.

Why this severity

SendKeys types into whatever window has focus at that instant; it breaks when a dialog steals focus and trips UAC/UIPI on modern Windows.


Known false positives

none expected.

Remediation example

targetForm.txtName.Text = value

Reconnecting… Connection lost. Reload