using keyascii for OK

Please support our Visual Basic 4 / 5 / 6 advertiser: Programming Forums - DaniWeb Sister Site
Reply

Join Date: Jul 2007
Posts: 113
Reputation: jaasaria is an unknown quantity at this point 
Solved Threads: 1
jaasaria's Avatar
jaasaria jaasaria is offline Offline
Junior Poster

using keyascii for OK

 
0
  #1
Aug 1st, 2007
i have a code here but there something a problemss...please kindly help...!!


Private Sub cmd_Click()
If Text1.Text = "aa" And Text2.Text = "aa" Then
MsgBox "fsdafsafsaf"
Else
MsgBox "invalid"
End If

End Sub





Private Sub Text2_Change()

If KeyAscii = 13 Then
cmd.Enabled = True
End If
End Sub


i want to create a form using "enter tab" that will automatically enter the other form.thx for helping
Reply With Quote Quick reply to this message  
Join Date: Nov 2006
Posts: 848
Reputation: QVeen72 is on a distinguished road 
Solved Threads: 120
QVeen72's Avatar
QVeen72 QVeen72 is offline Offline
Practically a Posting Shark

Re: using keyascii for OK

 
0
  #2
Aug 1st, 2007
Hi,

Wrie this wherever u want to show the Second Form:

Form2.Show

REgards
Veena
Reply With Quote Quick reply to this message  
Join Date: Mar 2007
Posts: 181
Reputation: scudzilla is an unknown quantity at this point 
Solved Threads: 3
scudzilla's Avatar
scudzilla scudzilla is offline Offline
Junior Poster

Re: using keyascii for OK

 
0
  #3
Aug 1st, 2007
Please elaborate more.
There are 10 types of people: those who understand Binary and those who don't!
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the Visual Basic 4 / 5 / 6 Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC