i'll try...i'm very basic with...well..basic...i just remember a project in school where i h ad to do something similar
Need Help In visual basic!
Started by
Ryan_esx7
, Nov 03 2005 08:58 AM
#16
Posted 03 November 2005 - 02:39 PM
i'll try...i'm very basic with...well..basic...i just remember a project in school where i h ad to do something similar
#17
Posted 03 November 2005 - 02:42 PM
Thanks again, i cannot express how much u've helped me
my ICT teacher had no clue, and she was on about creating a new user form identical to that one, so that when the user clicked confirm they would not know that they were changing forms, didn't want to do it that way, and she had no clue how to do it.
How long winded did she want to do it??? Would of taken a while and is kinda silly anyway
Thanks again mate
Ryan
my ICT teacher had no clue, and she was on about creating a new user form identical to that one, so that when the user clicked confirm they would not know that they were changing forms, didn't want to do it that way, and she had no clue how to do it.
How long winded did she want to do it??? Would of taken a while and is kinda silly anyway
Thanks again mate
Ryan
#18
Posted 03 November 2005 - 03:51 PM
if you wanted to be really special you should build in some validations to where if any of those text boxes are empty that it changes the heading on that form to something like "please make sure all data is entered and correct"
#19
Posted 04 November 2005 - 01:07 PM
that would be wicked!
I can feel that A on my coursework coming on
How would i go about this please??
Thnks
Ryan
I can feel that A on my coursework coming on
How would i go about this please??
Thnks
Ryan
#20
Posted 04 November 2005 - 01:21 PM
it usually involves an if then loop
something like
if textbox1 = "" then label1 = "please enter your surname"
end if
and so on for each box
something like
if textbox1 = "" then label1 = "please enter your surname"
end if
and so on for each box
#21
Posted 07 November 2005 - 05:51 AM
hey
got in the validations, to say that if any text box is empty, change label to show 'please enter in your surname' but, this does not stop it entering all the blank information into my customer ID sheet. how do i stop it so you can't go any further until that information has been entered in???
Thanks
Ryan
got in the validations, to say that if any text box is empty, change label to show 'please enter in your surname' but, this does not stop it entering all the blank information into my customer ID sheet. how do i stop it so you can't go any further until that information has been entered in???
Thanks
Ryan
#22
Posted 07 November 2005 - 07:16 AM
i'm trying to rmemeber....hehe i'll get back to you..
#23
Posted 09 November 2005 - 03:35 PM
Ok...sorry but i didn't have time to read all the new replies (i just read the first page)...
what you want to do is this:
p.s. i don't know the name of the buttons or forms so i just made them up describing what they are...
what you want to do is this:
Private Sub FormNewCustomerOrOldCustomer_Load() 'if this doesn't work then try to take off private sub cmd2ndConfirmbtn.Visible = False End Sub 'this makes it so that when the form loads the button is not visible 'then add this code to the first confirm button Private Sub Form1stConfirmButton_Click() cmd2ndConfirmbtn.Visible = True End Sub 'this makes the second confirm visible but only if you clicked the first confirm button
p.s. i don't know the name of the buttons or forms so i just made them up describing what they are...
Edited by MaverickSidewinder, 09 November 2005 - 03:36 PM.
#24
Posted 09 November 2005 - 03:45 PM
To answer the validation thing:
that should do it..
OR you could do this (disabling the button if the text boxes are empty)
p.s. tell me if there are errors so i can fix them
Private Sub confirmbtn_Click() If txtSurname.Text = "" Then msgbox "You didn't enter your last name you silly goose!", vbCritical, "ERROR" Cancel = True End If 'this displays a message box with what the user did wrong and the "Cancel = True" is to make the OK End Sub 'on the messagebox to make you go back and reenter the surname and not forward :D
that should do it..
OR you could do this (disabling the button if the text boxes are empty)
Private Sub confirmbtn_Click() If txtSurname.Text = "" Then confirmbtn.Enabled = False Else confirmbtn.Enabled = True End If End Sub
p.s. tell me if there are errors so i can fix them
#25
Posted 10 November 2005 - 02:49 PM
hey guys, thanks for both of your help
thanks to maverick for the response
thanks to dsenette for all the help, awaiting your response!!
Thanks very much u guys, and i will definately come back to you's when i come across more problems
and i know i will, cos i am only about a quarter through my project!
Thanks very much
talk to ya's soon
Ryan
thanks to maverick for the response
thanks to dsenette for all the help, awaiting your response!!
Thanks very much u guys, and i will definately come back to you's when i come across more problems
and i know i will, cos i am only about a quarter through my project!
Thanks very much
talk to ya's soon
Ryan
#26
Posted 10 November 2005 - 02:52 PM
sorry ryan...kinda forgot about you...hehe...take mavericks advice on the validation....that's what i was gonna suggest
#27
Posted 13 November 2005 - 01:56 PM
hey guys
looking for a bit of inspiration!
what cool and complicated stuff could i include on my project?
that sells DVD's??
would be grateful of any ideas
Ryan
looking for a bit of inspiration!
what cool and complicated stuff could i include on my project?
that sells DVD's??
would be grateful of any ideas
Ryan
#28
Posted 13 November 2005 - 02:34 PM
Something that always improves programs are GRAPHICS. If you have those even the most simple program looks awesome
Other from that, you could put different colors (like dont put the ugly normal grey one )
Im sure you'll do an awesome job!
Other from that, you could put different colors (like dont put the ugly normal grey one )
Im sure you'll do an awesome job!
#29
Posted 13 November 2005 - 03:11 PM
hey thanks
but its coursework and they are just gonna look behind the mask and see the code and stuff
know any complicated code that i could put in to do something fancy?
thanks
Ryan
but its coursework and they are just gonna look behind the mask and see the code and stuff
know any complicated code that i could put in to do something fancy?
thanks
Ryan
#30
Posted 14 November 2005 - 07:29 AM
www.negia.net/~vbbook go to the it's your turn section..IYT i think it's called....look for a program in one of those zips called Vintage Videos.....it's basically a movie rental retail software....don't copy it...but it's good for hints and ideas..
Similar Topics
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users