Link to home
Create AccountLog in
Visual Basic Classic

Visual Basic Classic

--

Questions

--

Followers

Top Experts

Avatar of letitbeirie
letitbeirie

SendMessage instead of SendKeys
Hi, I am coding a project in VB6 to control an external application using SendKeys (sometimes tab characters) and Wait statements.  I am looking for a way to upgrade the program to use the Windows API SendMessage command?  The primary goal of this upgrade is to allow other use of the computer while the project is executing; during the execution of the current project, the external application must be active with focus.

Zero AI Policy

We believe in human intelligence. Our moderation policy strictly prohibits the use of LLM content in our Q&A threads.


Avatar of OnegaZhangOnegaZhang

look up WM_CHAR WM_KEYUP, WM_KEYDOWN messages.

ASKER CERTIFIED SOLUTION
Avatar of Frosty555Frosty555🇨🇦

Link to home
membership
Log in or create a free account to see answer.
Signing up is free and takes 30 seconds. No credit card required.
Create Account

Reward 1Reward 2Reward 3Reward 4Reward 5Reward 6

EARN REWARDS FOR ASKING, ANSWERING, AND MORE.

Earn free swag for participating on the platform.

Visual Basic Classic

Visual Basic Classic

--

Questions

--

Followers

Top Experts

Visual Basic is Microsoft’s event-driven programming language and integrated development environment (IDE) for its Component Object Model (COM) programming model. It is relatively easy to learn and use because of its graphical development features and BASIC heritage. It has been replaced with VB.NET, and is very similar to VBA (Visual Basic for Applications), the programming language for the Microsoft Office product line.