H
HardySpicer
In Vista
Dim _gram = New List(Of String)(File.ReadAllLines(App_Path() &
"\grammar.txt"))
Public Function App_Path() As String
Return System.AppDomain.CurrentDomain.BaseDirectory()
End Function
It cannot find the file grammar.txt even though I put it in the Bin
directory. I have tried other directories and specified them .Also it
won't let me write a file to the c drive - permissions are wrong or
some sort. Same code works in Xp.
Hardy
Dim _gram = New List(Of String)(File.ReadAllLines(App_Path() &
"\grammar.txt"))
Public Function App_Path() As String
Return System.AppDomain.CurrentDomain.BaseDirectory()
End Function
It cannot find the file grammar.txt even though I put it in the Bin
directory. I have tried other directories and specified them .Also it
won't let me write a file to the c drive - permissions are wrong or
some sort. Same code works in Xp.
Hardy