Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Open Explorer

Status
Not open for further replies.

dvannoy

MIS
May 4, 2001
2,765
0
0
US
is there a reason this code would not work once the web app is deployed? it works fine in development. just trying to open a certain folder on the c drive using a link button

System.Diagnostics.Process.Start("explorer", "c:\My Folder")

Thanks in advance

 
That code opens the file in development, because your pc/laptop is the server.
Once deployed to another machine, it is trying to open the file on the C drive of the hosting server, not the client machine.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top