473,836 Members | 1,773 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Windows Explorer API or Namespace??

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 base component for my application. Since some of the treeview functionality of Windows Explorer is used in the folder browse dialog I make the assumption that this functionality is possibly exposed for use by developers who require the type of network and folder browsing functionality provided by Windows Explorer.

So my question is, is there an exposed API or namespace which I could use to access the network and folder browsing capabilities of Windows Explorer?

Many thanks
Stev

Nov 16 '05 #1
1 3125
Hi Steve,

There's so called Shell API. It is plain Windows API so it has to be used
through P/Invoke from a .NET application.
Some of the shell controls, as far as I remember, are available as ActiveX
controls. For example, when Windows Explorer creates a customized view for a
folder, it actually creates an HTML page with ActiveX controls embedded into
it. These ActiveX controls are responsible for displaying the folder tree
(hmm, not sure here) and the file list. So you can create such a view and
examine/grab the GUIDs/ProgIDs and then use them in your application.

--
Sincerely,
Dmitriy Lapshin [C# / .NET MVP]
Bring the power of unit testing to the VS .NET IDE today!
http://www.x-unity.net/teststudio.aspx

"Steve Randall" <ra*****@hotmai l.com> wrote in message
news:3A******** *************** ***********@mic rosoft.com...
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 base component
for my application. Since some of the treeview functionality of Windows
Explorer is used in the folder browse dialog I make the assumption that this
functionality is possibly exposed for use by developers who require the type
of network and folder browsing functionality provided by Windows Explorer.
So my question is, is there an exposed API or namespace which I could use to access the network and folder browsing capabilities of Windows Explorer??
Many thanks.
Steve


Nov 16 '05 #2

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

Similar topics

1
400
by: Ray | last post by:
<%@ Import Namespace="System.Windows.Forms"% I got this error message. I searched System.windows.Forms, I found the dll file in the c:\programfiles\visual studio.. It is only 1 137kb size. Hwoever, the file also exists in the c:\winnt\midcrosoft.net...... directory. the file size is 1992 kb However, when I search it , it doesnot show up. Only the smaller file in the c:\prgramfiles\visual studio......driectory show up. I tried to add...
2
441
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 base component for my application. Since some of the treeview functionality of Windows Explorer is used in the folder browse dialog I make the assumption that this functionality is possibly exposed for use by developers who require the type of...
2
1370
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 base component for my application. Since some of the treeview functionality of Windows Explorer is used in the folder browse dialog I make the assumption that this functionality is possibly exposed for use by developers who require the type of...
2
1521
by: Testing | last post by:
anyone knows how to access windows explorer namespace?
2
1804
by: Sebastian Terodde | last post by:
Hi NG, I had the Project idea to create a sort of virtual filesystem based on an sql server. Now i'm searching possibilities to implement it in windows explorer. Is there any connector for the windows explorer ? Alternatively it can be resolved by using a service who emulates a netdrive to connect from windows explorer.
7
1682
by: Alex | last post by:
Hi, I'm completely new to C#, so here is my question: Why my C# program (COM dll which I can call from C++ application) cannot see namespace System.Windows.Forms.. When I'm typing in "using System..." after the System. the only "W"
3
8634
by: garyusenet | last post by:
Dear Professionals, I have recently been using the wonderful krypton toolkit and am trying to use them in my small hobby application. I include this bit of info as an aside really because i'm sure my question can be extrapolated to the more general case, so here goes! I have a box standard windows forms project. (File, New Project, Windows Application, OK)
3
7946
by: Patrick Dugan | last post by:
I am using VS2005 (vb) and I have a program that starts when Windows boots up. Occasionally the icon that should appear in the system tray does not show up. The program is still running in memory but the tray icon is not there. If I start the program after Windows has booted up the icon shows every time. I am assuming that the reason is due to the icon being created before the system tray is loaded/running. I have used a timer with...
0
30259
AmberJain
by: AmberJain | last post by:
Windows Autorun FAQs: List of autostart locations Linked from the Original article- "Windows Autorun FAQs: Description". Que: Can you list all the autostart locations for windows? Ans: Here is a comprehensive list of all autostart locations for Windows OSes: NOTE : These are some abbreviations used in this list. Please note them carefully: HKCU = HKEY_CURRENT_USER HKLM = HKEY_LOCAL_MACHINE
0
10818
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10526
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10565
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10237
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9348
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7770
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5809
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4436
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 we have to send another system
2
3999
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.