Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

How to send a colon using keybd_event

Posted on 2006-05-17
4
Medium Priority
?
937 Views
Last Modified: 2012-08-13
Hi experts.

I'm currently working on a project at work and need to send a colon to my application using keybd_event. Im trying to find the hex value for the key. i.e. VK_Colon = &Hxx. Is there a list of all hex values?

Many Thanks

Lee.
0
Comment
Question by:ljhodgett
  • 2
4 Comments
 
LVL 44

Expert Comment

by:bruintje
ID: 16698104
Hello ljhodgett,

for the keycodes you could check a page like this
source: http://eric.aling.tripod.com/PB/tips/pbtip36.htm

gives us

integer VK_DIVIDE = 110

for conversion

MsgBox "&H" & Hex(110) 'convert to HEX gives &H6E

hope this helps a bit
bruintje
0
 
LVL 26

Accepted Solution

by:
EDDYKT earned 500 total points
ID: 16698115
0
 
LVL 35

Expert Comment

by:[ fanpages ]
ID: 16698126
0
 
LVL 44

Expert Comment

by:bruintje
ID: 16698136
sorry missed a few things while testing ..... EDDYKT is right there
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
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…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…
Suggested Courses

571 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