the_curious
New member
- Joined
- Jun 1, 2008
- Messages
- 2
- Programming Experience
- 1-3
hello everybody,
im new here
anyways, ive got a lot of experience in actionscript and PHP.
just trying to figure out this vb.net
no matter where i try to declare variables, the name gets underlined and it says "unused local variable:varname"
and i really can't figure out why. im trying to read a text file, but can't even declare variables.
Here is the whole program structure
any help greatly appreciated!
im new here
anyways, ive got a lot of experience in actionscript and PHP.
just trying to figure out this vb.net
VB.NET:
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim strContents As String
Dim objReader As System.IO.StreamReader
Open.ShowDialog()
filepath.Text = Open.SelectedPath
End Sub
no matter where i try to declare variables, the name gets underlined and it says "unused local variable:varname"
and i really can't figure out why. im trying to read a text file, but can't even declare variables.
Here is the whole program structure
VB.NET:
Public Class DeskTop
//vars
Friend Sub Set(ByVal imgage As Image)
//code
End Sub
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
//code
End Sub
Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
//code
End Sub
Private Sub DeskTop_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
End Sub
any help greatly appreciated!