Author: funluckykitty | Posted on: 5/5/2009 7:03:23 AM | Views : 241

I am using a simple file upload.  It works great, but I need to use it a couple different times in my vb.net webpage, and I'd like to know if it's possible to set the location of the directory once, instead of needing to do it each time.    This is my code that is from my aspx.vb

Dim d As New System.IO.DirectoryInfo("C:\Inetpub\wwwroot\xxxxx")

How could I set this, and then refer to it thru out the four or five different upload spots? 
...

Go to the complete details ...