To register for an Internet.com membership to receive newsletters and white papers, use the Register button ABOVE.
To participate in the message forums BELOW, click here
VBForums  

VB Wire News
MSDN Subscribers: Download the VS 2010 Release Candidate
MSDN Subscribers: Download the VS 2010 Release Candidate
Sell Your Code and Make Money?
Creating your own Tetris game using VB.NET
Article :: Improving Software Economics, Part 4 of 7: Top 10 Principles of Iterative Software Management



Go Back   VBForums > Visual Basic > Games and Graphics Programming

Reply Post New Thread
 
Thread Tools Search this Thread Display Modes
Old Jul 5th, 2007, 01:03 AM   #1
jokerfool
Addicted Member
 
jokerfool's Avatar
 
Join Date: Dec 06
Posts: 225
jokerfool is an unknown quantity at this point (<10)
Resolved [RESOLVED] Using Keys Help Please

When I want to get the user to move left and right I can use the command vbKeyLeft and vbKeyRight, but to get the user to use the keys A for Left and D for Right, what do I use in there place instead of vbKeyLeft, can I just use vbKeyRightA ?

Thank you.
jokerfool is offline   Reply With Quote
Old Jul 5th, 2007, 05:43 AM   #2
chemicalNova
G&G Moderator
 
chemicalNova's Avatar
 
Join Date: Jun 02
Location: Victoria, Australia
Posts: 4,245
chemicalNova is a jewel in the rough (200+)chemicalNova is a jewel in the rough (200+)chemicalNova is a jewel in the rough (200+)
Re: Using Keys Help Please

You have to understand what those things actually mean. Perhaps you should google "Constants".

In the mean time, just replace "vbKeyLeft" with "vbKeyA", and "vbKeyRight" with "vbKeyD".

chem
__________________

Visual Studio 6, Visual Studio.NET 2005, MASM
chemicalNova is offline   Reply With Quote
Reply

Go Back   VBForums > Visual Basic > Games and Graphics Programming


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 10:41 AM.




To view more projects, click here

Acceptable Use Policy


The Network for Technology Professionals

Search:

About Internet.com

Legal Notices, Licensing, Permissions, Privacy Policy.
Advertise | Newsletters | E-mail Offers

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.