473,387 Members | 1,925 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

link to open a folder

I wrote a c# win form app. I would like to link a botton to a folder. so
when someone clicks the botten it opens up a folder (is it explorer.exe?)

Thanks,
Aaron
Nov 17 '05 #1
5 12219
Aaron,

What do you want to do with that folder? I assume that you want to open a
kind of dialog.

Cor
Nov 17 '05 #2
explorer.exe "filename"

eg explorer.exe "C:\"

"Aaron" <ku*****@yahoo.com> wrote in message
news:uG**************@TK2MSFTNGP09.phx.gbl...
I wrote a c# win form app. I would like to link a botton to a folder. so
when someone clicks the botten it opens up a folder (is it explorer.exe?)

Thanks,
Aaron

Nov 17 '05 #3
I want to do the equivalent of <a href="files://c:\" target="new">A Link</a>
in a win form.
"Cor Ligthert" <no************@planet.nl> wrote in message
news:Ox**************@TK2MSFTNGP10.phx.gbl...
Aaron,

What do you want to do with that folder? I assume that you want to open a
kind of dialog.

Cor

Nov 17 '05 #4
how do i execute explorer.exe "C:\" in a click event?

"David Sobey" <ds****@NOSPAMugrad.unimelb.edu.au> wrote in message
news:42******@dnews.tpgi.com.au...
explorer.exe "filename"

eg explorer.exe "C:\"

"Aaron" <ku*****@yahoo.com> wrote in message
news:uG**************@TK2MSFTNGP09.phx.gbl...
I wrote a c# win form app. I would like to link a botton to a folder. so
when someone clicks the botten it opens up a folder (is it explorer.exe?)

Thanks,
Aaron


Nov 17 '05 #5
If you created the WinForm App, you can do that as follow:

System.Diagnostics.Process.Start("C:\\");

I have tried it , and passed.
Nov 17 '05 #6

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

Similar topics

4
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...
4
by: Yuri Vorontsov | last post by:
Hallo! We have troubles (post XP SP2) to open local folders from the web application: - the web application allows users to select a local file (input type=file) - the system DOES NOT upload...
1
by: Steve B. | last post by:
Now that I found the Outlook public folder containing an existing calendar, how do I open it ? ************************ Application olApp = new ApplicationClass(); NameSpace olNS =...
1
deephill
by: deephill | last post by:
hi i create java script drop down menu. i need 1 link open in a new window. how can i make it. sample script. var menu1=new Array() menu1='<a href="services.html">Services</a>' menu1='<a...
0
Gyanchand
by: Gyanchand | last post by:
Need to open a folder on the click of a button.using ASP.. Can someone help me with this
3
by: jport | last post by:
Hi Everyone, Am attempting to use MS Access 2000 and ArcGIS to build a comprehensive Land Referencing system, that is orientated to the new and inexperienced user, while also being versatile...
1
by: BlackMustard | last post by:
how do i go about to open a folder (i.e. not a file) with the common dialog open? more specifically, since no one has answered yet: i want to use a CommonDialogBox to get a folder path to a...
7
by: Trevor2007 | last post by:
I would like to open a folder from command button and I am not having any luck; ... Dim stdfile as string open stdfile "c:\temp" End sub and I am getting error because I have nothing...
8
viktorijakup
by: viktorijakup | last post by:
Hi !!! This script must open folder, and I must view empty opened folder...!!! I work in "Far manager". Now this script only create folder... @rem = '--*-Perl-*--
1
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
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
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...

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.