Simple question involving streamwriter declarations. This is what I have:
VB is giving me the error that states var is not delcared and I can't figure out why, I have rewritten it a few times as per the book but with no luck. Any ideas?Code:Imports System.IO.StreamWriter Public Class Form1 Public Var as System.IO.StreamWriter Var = System.IO.File.CreateText("Text.txt")





Reply With Quote