Re: Command button problem
- From: Jan Hyde <StellaDrinker@xxxxxxxxxxxxxxxxxxx>
- Date: Thu, 17 Aug 2006 09:05:44 +0100
"Chris" <chris_simon_cis@xxxxxxxxx>'s wild thoughts were
released on 16 Aug 2006 14:52:59 -0700 bearing the following
fruit:
Hello all, I am new to VB and am trying to do something simple but
having a problem. I have coded my OK command button to compare two
text boxes and prompt with a message box if the strings do not match.
If they match then the program should continue and if they do not match
then I want to exit out of the Ok command button back to the main form
without ending the application so the users can correct the text box
mistake then click ok again. Any help would be greatly appreciated!!!
If Form1.txtNew = Form1.txtConfirm Then
GoTo setpass
Else
MsgBox "Your New and Confirmed Passwords do not match"
'code to exit Ok cmd button without exiting the application??????
End If
I'm soooo glad I've wasted my time answering your question
in another group becuase you can't be bothered to crosspost.
PLEASE DON'T MULTIPOST!!!!!!!!
Jan Hyde (VB MVP)
--
Grammar: Lives with granpar (Jan Hyde)
.
- References:
- Command button problem
- From: Chris
- Command button problem
- Prev by Date: Re: Where did www.sloppycode.net/ go to?
- Next by Date: Re: Why is GOTO bad?
- Previous by thread: Re: Command button problem
- Next by thread: Re: Command button problem
- Index(es):
Relevant Pages
|