I need some help. I bought a Phidgets Text LCD, and I don't know how to display text using Visual Basic. I can do it fine with C#, but I am accustomed to Visual Basic. I am preforming the same setup steps in VB as I am in C#, but in the different syntex. I get "Object reference not set to an instance of an object." or NullRefrence error.
Public Class Form1
Dim lcd As Phidgets.TextLCD
Private Sub TextBox1_TextChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles TextBox1.TextChanged
lcd.open()
lcd.rows(0).DisplayString = textbox1.text
lcd.rows(1).DisplayString = textbox2.text
End Sub
I think it has something to do with me not declaring a "new" something or other, but I don't know where or what I need to declare. I'm going to play around with it more, but I figured I'd ask here, because you seem to know what you're talking about when it comes to phidgets.
Thanks for your time!~!