Question : directory access via relative path ?

I have a few lines of code that populate a gridview with the names of files in a folder (Architecture) on the C drive.  Indeed, the gridview is populated with rows like:  
C:\Architecture\minutes_01-23-2007.pdf

The path is specified in the line:
  Dim dir As New DirectoryInfo("c:\Architecture")

I want to place the folder Architecture in the visual studio solution and access it via a relative path something like:
  Dim dir As New DirectoryInfo("\Architecture")

Except I have not been able to specifiy the relative path in this later line so that the folder in the solution is accessed.

Help, please.
Code Snippet:
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
Imports System.IO
Partial Class Test_directory
    Inherits System.Web.UI.Page
    Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
        Dim dir As New DirectoryInfo("c:\Architecture")
        'Dim dir As New DirectoryInfo("\Architecture")
        Dim Files As Array
        Files = dir.GetFiles()
        GridView1.DataSource = Files
        GridView1.DataBind()
    End Sub
End Class

Answer : directory access via relative path ?

Server.MapPath() will do about the same thing in ASP.Net as Application.StartupPath does in WinForms.

Dim dir As New DirectoryInfo(Server.MapPath("~/Architecture"))
Random Solutions  
 
programming4us programming4us