Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Open a folder through ASP.Net

0 views
Skip to first unread message

Ragu

unread,
Feb 12, 2007, 2:43:00 AM2/12/07
to
Hi All

I am trying to open a folder ( "D:\screenshots") by clicking a button in the
web page, which opens the directory/folder in windows explorer in VS. But if
i deploy the same application and install it, the same code doesnot work. The
code i have written is as follows:

Protected Sub Open_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Open.Click
Dim sFolderString As String
sFolderString = "D:\screenshots"
Process.Start(sFolderString, "")
End Sub

Can anyone help me out...

0 new messages