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 like count the
files, or determine permissions, I just need explorer to launch the
specified path.
Ideally it would work something like:
Dim FolderPath as string
Folderpath ="\\server\share\folder"
opendir(folderpath)
I am sure I do not need to use directory or directoryinfo classes, it seems
to me there should be an easy way to launch explorer and pass a path to it.
Let me know....
Any ideas?
Thanks,
Aaron 3 4800
The easiest way would be to have the user click on a hyperlink.
<a href='\\server\share\folder'>click to open folder</a>
--
I hope this helps,
Steve C. Orr, MCSD, MVP http://Steve.Orr.net
"Aaron" <aa***@jonharvey.com> wrote in message
news:u9****************@TK2MSFTNGP14.phx.gbl... 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 like count the files, or determine permissions, I just need explorer to launch the specified path.
Ideally it would work something like: Dim FolderPath as string Folderpath ="\\server\share\folder" opendir(folderpath)
I am sure I do not need to use directory or directoryinfo classes, it seems to me there should be an easy way to launch explorer and pass a path to it. Let me know....
Any ideas?
Thanks, Aaron
Can I complicate things a little?
I am using an imagebutton, but I can't figure out how to lauch a url or
hyperlink. I'm sure it is pretty easy, I am just not seeing the light...
"Steve C. Orr [MVP, MCSD]" <St***@Orr.net> wrote in message
news:uZ****************@TK2MSFTNGP14.phx.gbl... The easiest way would be to have the user click on a hyperlink. <a href='\\server\share\folder'>click to open folder</a>
-- I hope this helps, Steve C. Orr, MCSD, MVP http://Steve.Orr.net
"Aaron" <aa***@jonharvey.com> wrote in message news:u9****************@TK2MSFTNGP14.phx.gbl... 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 like count the files, or determine permissions, I just need explorer to launch the specified path.
Ideally it would work something like: Dim FolderPath as string Folderpath ="\\server\share\folder" opendir(folderpath)
I am sure I do not need to use directory or directoryinfo classes, it seems to me there should be an easy way to launch explorer and pass a path to it. Let me know....
Any ideas?
Thanks, Aaron
Do you need it to be an imagebutton? Is there some reason you need the
postback?
If not, just put an image inside the hyperlink:
<a href='\\server\share\folder'> <img.../> </a>
--
I hope this helps,
Steve C. Orr, MCSD, MVP http://Steve.Orr.net
"Aaron" <aa***@jonharvey.com> wrote in message
news:O6****************@TK2MSFTNGP15.phx.gbl... Can I complicate things a little? I am using an imagebutton, but I can't figure out how to lauch a url or hyperlink. I'm sure it is pretty easy, I am just not seeing the light...
"Steve C. Orr [MVP, MCSD]" <St***@Orr.net> wrote in message news:uZ****************@TK2MSFTNGP14.phx.gbl... The easiest way would be to have the user click on a hyperlink. <a href='\\server\share\folder'>click to open folder</a>
-- I hope this helps, Steve C. Orr, MCSD, MVP http://Steve.Orr.net
"Aaron" <aa***@jonharvey.com> wrote in message news:u9****************@TK2MSFTNGP14.phx.gbl... > 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 like count > the > files, or determine permissions, I just need explorer to launch the > specified path. > > Ideally it would work something like: > Dim FolderPath as string > Folderpath ="\\server\share\folder" > opendir(folderpath) > > I am sure I do not need to use directory or directoryinfo classes, it > seems > to me there should be an easy way to launch explorer and pass a path to > it. > Let me know.... > > Any ideas? > > Thanks, > Aaron > >
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Tim Failes |
last post by:
Our application needs to write some application specific data, but I have
not been able to find the recommended method to obtain the correct pathname.
I have found many references to the...
|
by: Job Lot |
last post by:
How can I find path of windows folder using vb.net? It could be winnt or
windows depending upon the os.
System.Environment.SpecialFolder enumeration does not have a constant for
windows folder.
|
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...
|
by: Chuck Anderson |
last post by:
I use apache, Php and MySql on my Windows XP machine at home. I have
been doing so successfully now for a long time. However, I am now
trying to use fopen to open secure URLs (https) and having...
|
by: Pmcg |
last post by:
Hi,
I've been using
Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData) to get
the application data folder for ASP.Net applications using IIS5.0 where it
works for both the...
|
by: Kenneth P |
last post by:
Hi,
I've had a hd crash (with proper data backup) and I wonder what way would be
the best way to set up an old project with all code from a backup hd in a new
vs.net2003 environment?
TIA
...
|
by: Bruce |
last post by:
I am doing development work on an asp.net app and a web service on a Win XP
Pro SP2 development workstation, using vs.net 2003. For reasons that I
wont try to explain here, I recently moved the...
|
by: Seth Darr |
last post by:
I'm working on migrating an Classic ASP/VB6 COM application from an NT
Server with IIS<6 to an virtual machine running Windows Server 2003 and
IIS 6. I've worked through most of the obvious...
|
by: g4356 |
last post by:
Hi, A new baby question:
I downloaded a dot net project and saved it to my local disk. When I tried
to open this project, a message popped up:
"Unable to open web project "test/myfirstweb"/ The...
|
by: taylorcarr |
last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
|
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...
|
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...
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
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...
|
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,...
|
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,...
|
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...
| |