annoying error

Discussion in 'Programming General' started by iloverares, May 20, 2011.

annoying error
  1. Unread #1 - May 20, 2011 at 12:26 PM
  2. iloverares
    Joined:
    Nov 23, 2010
    Posts:
    64
    Referrals:
    0
    Sythe Gold:
    0

    iloverares Member

    annoying error

    in this part of code,

    Private Sub Timer1_Tick(ByVal Sender As System.Object, ByVal e As System.EventArgs) Handles Timer1_Tick:mad:
    Label1.Text = CType(TabControl1.SelectedTab.Controls.Item(0), Windows.Forms.WebBrowser).StatusText

    End Sub

    i keep getting a error saying "." expected (where the mad face is) however when i put it there i get 2 other errors :/ any help?
     
  3. Unread #2 - May 21, 2011 at 1:09 AM
  4. Covey
    Joined:
    Sep 9, 2005
    Posts:
    4,510
    Referrals:
    9
    Sythe Gold:
    9
    Discord Unique ID:
    807246764155338833
    Discord Username:
    Covey#1816

    Covey Creator of EliteSwitch
    Retired Sectional Moderator Visual Basic Programmers

    annoying error

    needs to be:
    Code:
    Private Sub Timer1_Tick(ByVal Sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick 
        Label1.Text = CType(TabControl1.SelectedTab.Controls.Item(0), Windows.Forms.WebBrowser).StatusText
    End Sub
     
< VB and C++ | How to protect my VB apps? >

Users viewing this thread
1 guest


 
 
Adblock breaks this site