I am trying to write a windows application .exe that uses Server.MapPath as I need to get the folder of a virtual directory.

I have added the System.Web reference to my project, but it still tells me that 'Server' cannot be found.

How can I get the path of a virtual directory in my vb.net windows app?

Greg