i am making a web browser and wont to be able to use The Enter key to affectively press go, if possible tell me the code or tell me where to start and what command to use ( i am using visual basic 6 )
Build a web browser in VB6 without using Enter key
Collapse
X
-
Also in VB 2005, although there must be simular options in VB 6...
I did this on the textbox keypress event...
[code=vbnet]
if asc(e.keychar) = "13" then
btnGO.performcl ick
end if
[/code]Comment
-
Originally posted by jamesd0142Also in VB 2005, although there must be simular options in VB 6...
I did this on the textbox keypress event...
[code=vbnet]
if asc(e.keychar) = "13" then
btnGO.performcl ick
end if
[/code]Comment
-
Originally posted by oorobooi tried using both codes and none seemed to work for me thanks for trying , not sure if i understood fully
if the enter key is pressed the code executes.
You understand that you need to double click the textbox and change from text changed event to keypress event ... right?Comment
-
Originally posted by oorobooi tried using both codes and none seemed to work for me thanks for trying , not sure if i understood fully
i understand the process more and on adding more keys that preform tasks
and yes i did forget to change to key press :P only started vb todayComment
-
Originally posted by oorobooahh don't worry , i retyped some of the code made a few minor changes and it works thank you
i understand the process more and on adding more keys that preform tasks
and yes i did forget to change to key press :P only started vb today
Your welcome hope your having fun
<<<Gobble>>>Comment
Comment