Hi I was wondering if you could offer me some help and advice me the best way around the following project. I have attached a link in which it shows what is required in a table and what I have created so far in Vb.NET. The link pretty much explains everything, a user loads the program and they input some information. Whatever matches anything in the table, a message box appears saying "The room which is most ideal for you is Room1"
However if nothing matches then the message box appears saying "Sorry there are no matches found" but if the user input more than 35 in the pupil textbox, or 32 in the computer textbox then after the message that has just been typed out the message box should say "The number of pupils is too much" or "The number of computers is too much".
The printer part is simple, if the combobox remains on "No" then the radiobuttons will remain disabled, but when the user selects "Yes" from the combobox they must select one of the radiobuttons. IF they select Yes from the combobox and dont select a printer and select search, then a message box appears saying "Please select a printer" I know it might sound confusing, and I dont require anyone to actually do the work but if anyone could offer me any help I would really appreciate it.
So far for the coding I have:
lol, well its a start.
http://i18.tinypic.com/499ufxk.jpg
However if nothing matches then the message box appears saying "Sorry there are no matches found" but if the user input more than 35 in the pupil textbox, or 32 in the computer textbox then after the message that has just been typed out the message box should say "The number of pupils is too much" or "The number of computers is too much".
The printer part is simple, if the combobox remains on "No" then the radiobuttons will remain disabled, but when the user selects "Yes" from the combobox they must select one of the radiobuttons. IF they select Yes from the combobox and dont select a printer and select search, then a message box appears saying "Please select a printer" I know it might sound confusing, and I dont require anyone to actually do the work but if anyone could offer me any help I would really appreciate it.
So far for the coding I have:
VB.NET:
If ComboBox3.Text = "No" Then
RadioButton1.Enabled = False
RadioButton2.Enabled = False
Else
RadioButton1.Enabled = True
RadioButton2.Enabled = True
End If
http://i18.tinypic.com/499ufxk.jpg
Last edited by a moderator: