473,499 Members | 1,681 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Open Windows Explorer Folder from ASP.net

I have a simple ASP.net form with a button on it that when the user clicks on
the button I want a folder to open in windows explorer.

I have tried the following without success. No error messages . . . it just
doesn't work.

System.Diagnostics.Process.Start("Explorer.exe",
"\\ServerName\Subfolder1\Test\AccountingReport s")

Thanks!!!!
Nov 19 '05 #1
1 5123
Anonymous schrieb:
I have a simple ASP.net form with a button on it that when the user clicks on
the button I want a folder to open in windows explorer.
I guess the explorer should be opened on the client?
I have tried the following without success. No error messages . . . it just
doesn't work.


Because the process runs on the server. Even if Client and server are the
same machine, it will not work, because the new process inherits the
credentials used by asp.net and if you don't use impersonation that is not
the account you are currently working with.

Jan
Nov 19 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
21967
by: Kamilche | last post by:
Is there a command you can execute in Python that will open a window on the desktop, such as 'My Documents'? Kind of like 'system', but for folder names, not just programs. I'm running on Windows...
0
2411
by: Tom Dacon | last post by:
"Open .Net Command Window Here" context menu for Windows Explorer: The reg file described below adds a new menu item to Windows Explorer's context menu when you right-click over a folder (or the...
1
3107
by: Steve Randall | last post by:
I am building a utility application that uses much of the same functionality as already exists in the Windows Explorer. It would therefore make sense to use (if possible) the Windows Explorer as the...
3
4803
by: Aaron | last post by:
My application will only be used on windows based machines. I need to open a folder using UNC naming. i.e. \\server\share\folder I do not need to do anything programatically with the folder...
6
6742
by: Daniel | last post by:
Hi all, Can i open and edit the excel sheet on web page after downloading? After editing, i close the web page and the excel file auto upload to the server. Is it possible? I really struggling...
3
9258
by: Mark | last post by:
I'd like to open up Windows Explorer from my .NET desktop application to a specific path. I essentially want to execute: %Systemroot%\explorer.exe c:\somepath\ How can this be done? Thanks...
1
10722
by: =?Utf-8?B?UmFndQ==?= | last post by:
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...
4
1192
by: =?Utf-8?B?RG91Zw==?= | last post by:
Could someone tell me how to make windows explorer in xp pro open to the folder of my choice? I am tired of having to start from the desktop , computer, c:\ I would like it to open to the c:\"and...
4
8892
by: terrybell105 | last post by:
Is there a way I can open Windows Explorer at a specific folder, size the window, and position it in relation to the (already opened) Access window? I have a client who wants this capability. It...
1
3517
by: Devin | last post by:
Hi, I'll explain what I am trying to do and hopefully you can suggest how I can do it, or another way I could create a similar effect. My company uses vCalendar which I know my way around in...
0
7128
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7169
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7215
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
6892
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7385
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
4917
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4597
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3096
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
1425
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.