Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Newcomers DBPro Corner / text and input

Author
Message
Zaine
19
Years of Service
User Offline
Joined: 29th May 2005
Location:
Posted: 15th Jun 2006 22:37
ok im still kinda new to this so i might have a really stupid questiong, but i am trying to set this program up to where you got to enter in a password that is atuomatically set up so it will start to type something for you, but no matter what i set the pass at, you can type in anything and it will just go to the screen. how do i fix it.. please help a noob out.
Dream And Death
18
Years of Service
User Offline
Joined: 21st Feb 2006
Location: The circus! Juggling job, kids and DBPro
Posted: 15th Jun 2006 22:48
I'm guessing that you are thinking that pass$ holds the password you need to guess - it doesn't, it holds the user's input. You need to compare it to a stored password.

Try this:
Zaine
19
Years of Service
User Offline
Joined: 29th May 2005
Location:
Posted: 15th Jun 2006 22:54 Edited at: 15th Jun 2006 23:28
ok i set it up the way you got it, although i did forget to say i was using DB Classic, but now im getting a syntax error at the end of it.
Daemon
18
Years of Service
User Offline
Joined: 16th Dec 2005
Location: Everywhere
Posted: 15th Jun 2006 23:44

He forgot to put then. For this it doesn't matter which version of DB you are using.

Insanity is just a state of mind
Dream And Death
18
Years of Service
User Offline
Joined: 21st Feb 2006
Location: The circus! Juggling job, kids and DBPro
Posted: 16th Jun 2006 15:00
Yeah, I'm moving away from visual basic where you need:

to DarkBasic where you need:

The inconsistency of 'then' drives me crazy! As does the lack of elseif!

Login to post a reply

Server time is: 2024-09-25 01:36:30
Your offset time is: 2024-09-25 01:36:30