Photo Gallery Member List Search Calendars FAQ Ticket List Log Out


ASP : Keypress in Vb script

 
Logged in as: Guest
arrSession:exec spGetSession 2,3,1219
 Active Users: There are 0 members and 0 guests.
 Users viewing this topic: none
 

 

 
  
  Printable Version
All Forums >> [Scripting] >> ASP >> ASP : Keypress in Vb script
  Do you like VisualBasicScript.com? Link to us and help spread the word about our forum. Thanks!
Page: [1]
Login
Message << Older Topic   Newer Topic >>
 ASP : Keypress in Vb script - 8/6/2004 1:00:24 AM   
  sr_aneesh

 

Posts: 2
Score: 0
Joined: 8/5/2004
From:
Status: offline
how can i trap the key pressed in a textbox or teaxt area using Vbscript and what id i wantto restrict user to press enterkey...


i tried this :

Public sub txttest_KeyPress(KEYASCII)
if KeyASCII=8 then
msgbox("test")
else
msgbox("test1")
end if
End Sub
 
 
Post #: 1
 
 Re: ASP : Keypress in Vb script - 8/17/2004 9:39:20 PM   
  Matt

 

Posts: 30
Score: 0
Joined: 8/17/2004
From: United Kingdom
Status: offline
Hmm, ASP is server side so you will need something client side (like java or activeX).

Sorry I can't help more.

(in reply to sr_aneesh)
 
 
Post #: 2
 
 
 
  

If you found our site useful please link to us <a href="http://www.visualbasicscript.com">VisualBasicScript.com</a>.
All Forums >> [Scripting] >> ASP >> ASP : Keypress in Vb script Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts