Hi All,
What do they mean with Type expected after declaration of a variable.
Here's the declaration:
Dim statusBar1 As Statusbar = New Statusbar
The blue marked Statusbar gives me the error.
How can I solved it.
Wkr,
sparrow1
Printable View
Hi All,
What do they mean with Type expected after declaration of a variable.
Here's the declaration:
Dim statusBar1 As Statusbar = New Statusbar
The blue marked Statusbar gives me the error.
How can I solved it.
Wkr,
sparrow1
Try that if you are not in a form code
VB Code:
Dim statusBar1 As System.Windows.Forms.Statusbar = New System.Windows.Forms.Statusbar
Hi,Quote:
Originally Posted by josep
That does it.
Thanks,
sparrow1