Free Games Forum
Free Games Games Forums Music Forums TV Forums

  Free Games Forum Home FORUM
HOME
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN
Rules & FAQ RULES / FAQ
REPORT SPAM

Free Games Forum: Game Technology: Visual Basic / VB:
Pressing keys

 

 


jboy184
Newbie

Aug 24, 2005, 8:31 PM

Post #1 of 6 (223 views)
Shortcut
Pressing keys Can't Post

I know some visual basic, i can create simple things like calculators and web browsers. but how do i make it to that when i press a key it does some thing. Examplea:

i want it to go back to the last page if i press backspace

i want it to go to the URL if i press enter

Can some1 please give me an example code


They say u hear satanic things when u run a windows xp disk backwards... but thats nothin compared to when u run it normally as it installs windows!!!



Jaymzanator
Enthusiast


Aug 25, 2005, 9:31 PM

Post #2 of 6 (208 views)
Shortcut
Re: [jboy184] Pressing keys [In reply to] Can't Post

is that 4 web browser?


(17:20) Taz:
and tazg is lol'in at you all the way from canada
(17:21) James:
lol canadians


jboy184
Newbie

Aug 26, 2005, 3:51 AM

Post #3 of 6 (206 views)
Shortcut
Re: [Jaymzanator] Pressing keys [In reply to] Can't Post

well no, anything. say if i wanted it to press the equals button when i press enter. or to hide the program when u press F4.

thanks for ur help


They say u hear satanic things when u run a windows xp disk backwards... but thats nothin compared to when u run it normally as it installs windows!!!


jboy184
Newbie

Aug 26, 2005, 4:08 AM

Post #4 of 6 (204 views)
Shortcut
Re: [jboy184] Pressing keys [In reply to] Can't Post

what i am really lookin for is sumfin like this:

If keypress = {ENTER} Then
button3.click
End If

but i have tried this and it didnt work


They say u hear satanic things when u run a windows xp disk backwards... but thats nothin compared to when u run it normally as it installs windows!!!


Lotus Lecetoy
Veteran


Aug 26, 2005, 9:23 AM

Post #5 of 6 (201 views)
Shortcut
Re: [jboy184] Pressing keys [In reply to] Can't Post

Search a Visual Basic forum for a Guide on Hotkeys.


______
http://freewebs.com/matthewlecetoy

"The only rules that really matter are these: what a man can do and what a man can't do."


jboy184
Newbie

Aug 27, 2005, 6:49 AM

Post #6 of 6 (183 views)
Shortcut
Re: [Lotus Lecetoy] Pressing keys [In reply to] Can't Post

never mind guys i realise why... its cos i was using the visual basic express edition beta 2. which by the way is a lot easier to use than VB6 but it doesnt include as many features.


They say u hear satanic things when u run a windows xp disk backwards... but thats nothin compared to when u run it normally as it installs windows!!!

 
 
 


Search for (options) Web Design by Web Ideas - Page loaded in: 0.17 s on (CGI/1.1)