1 Replies - 94 Views - Last Post: 14 July 2012 - 10:15 AM Rate Topic: -----

#1 sosoover09  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 26
  • Joined: 13-July 12

Supposed to do a rating for five hotels using asterisk and input box

Posted 14 July 2012 - 10:13 AM

 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 


Is This A Good Question/Topic? 0
  • +

Replies To: Supposed to do a rating for five hotels using asterisk and input box

#2 modi123_1  Icon User is offline

  • Suitor #2
  • member icon



Reputation: 6489
  • View blog
  • Posts: 23,571
  • Joined: 12-June 08

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.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1