Dim strRating As String
strRating = InputBox("Hotel Rating", "Enter Here")
For intCounter As Integer = 1 To 6
lblStars.Text = lblStars.Text &
"*"
Next intCounter
If strRating >= 7 Then
MsgBox("Enter Hotel Rating again", _
MsgBoxStyle.OkOnly Or MsgBoxStyle.Information, _
"Hotel Rating")
End If
End Sub
1 Replies - 94 Views - Last Post: 14 July 2012 - 10:15 AM
#1
Supposed to do a rating for five hotels using asterisk and input box
Posted 14 July 2012 - 10:13 AM
Replies To: Supposed to do a rating for five hotels using asterisk and input box
#2
Re: Supposed to do a rating for five hotels using asterisk and input box
Posted 14 July 2012 - 10:15 AM
Do not create duplicate topics. Also - for future topics that you do not have threads on - it is helpful if you include more verbiage on what is the problem, what error messages you are getting, what lines, and what it is doing vs should be doing.
Page 1 of 1
|
|

New Topic/Question
This topic is locked




MultiQuote






|