VB6 and preventing  key combinations like ctrl+alt

Posted on 2003-03-05
Medium Priority
Last Modified: 2006-11-17
In VB6, how can I prevent ctrl+alt or alt+tab key combinations from reaching the Win2k OS(message handler)
Question by:Semple
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2

Accepted Solution

brookd earned 300 total points
ID: 8074319
This requires low level hooks which is beyond my scope at this time... but here are some excellent links..



-- David

Expert Comment

ID: 8074502
Basicly you can't do this in VB.  Some people have made pseudo key loggers, but none of the ones in pure VB, can be relied on to accuratly give you the info you need with out the use of outside dlls.

Expert Comment

ID: 8074602
Here's what looks like a really good post , with even free source...



Author Comment

ID: 8074731
Thanks for the response guys.

Featured Post

[Webinar] Lessons on Recovering from Petya

Skyport is working hard to help customers recover from recent attacks, like the Petya worm. This work has brought to light some important lessons. New malware attacks like this can take down your entire environment. Learn from others mistakes on how to prevent Petya like worms.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Suggested Courses
Course of the Month9 days, 9 hours left to enroll

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question