M
MattB
I've used this a bit from codebehind with no problems, but now I'm
having some issues when I try to use it from a vb class in my application.
Looking in help, it looks like I need to do something like this:
dim Server As HttpServerUtility
Dim path As String = Server.MapPath("myfile.txt")
----
But any time I use that Server variable I get a null refrence exception.
What am I doing wrong? Thanks!
Matt
having some issues when I try to use it from a vb class in my application.
Looking in help, it looks like I need to do something like this:
dim Server As HttpServerUtility
Dim path As String = Server.MapPath("myfile.txt")
----
But any time I use that Server variable I get a null refrence exception.
What am I doing wrong? Thanks!
Matt