Click here to Skip to main content
15,894,362 members
Everything / Explorer

Explorer

Explorer

Great Reads

by ergohack
This is an article on how to post automated test results to Microsoft's Test Manager Infrastructure from external sources (e.g. your home grown automated test harness).
by ASP.NET Community
I had to create Umbraco database on my shared hosting (I am using Winhost at the moment) couple of days ago.After checking few examples on
by Dirk Bahle
Lessons Learned on Software Design with WPF
by Leung Yat Chun
FileExplorer is a WPF based control that has most features of the Windows Explorer, you can use it to display shell objects or any hierarchical data.

Latest Articles

by Cinchoo
Yet another RoboCopy GUI tool
by Wade Harvey
This article shows how to use Winforms, WPF and C# to create a File Explorer Clone with Tabs and an extremely fast parallel file search utility.
by Dirk Bahle
Lessons Learned on Software Design with WPF
by Leung Yat Chun
FileExplorer is a WPF based control that has most features of the Windows Explorer, you can use it to display shell objects or any hierarchical data.

All Articles

Sort by Title

Explorer 

31 May 2013 by prisoft
I want to add my applications commands to windows explorer's right click menu just like dropbox or winanp. Please help me.
31 May 2013 by AlphaDeltaTheta
This CP article (.NET Shell Extensions - Shell Context Menus)[^] is a nice place to start.
22 Jan 2012 by Mactm
Hello allMy website found here has two buttons. Both return videos from a tumblr blog using the tumblr api. I display 4 videos at a time,If i click the 'Forward' button it will call the php function(blogFunction.php) which will return the next 4 videos. The 'back' button will go back to the...
21 May 2012 by Vinayak Shejole
My ASP.net website works great in Google's Chrome and also in Mozilla's Firefox, but the problem occurs in Internet Explorer. I tried getting it to work for 3 hours, but was not successfull.
21 May 2012 by Pete O'Hanlon
Normally, when a website works in Chrome and Firefox, but doesn't behave itself in IE, it means that there are issues with the JavaScript you've used and/or the CSS on the site. If it's a layout problem, it could be the JavaScript AND the CSS, or it could just be the CSS.What you are going...
9 Mar 2012 by Member 8353487
Hi all, I'm coding an extension for Internet Explorer.I'de like to catch the IE beforenavigate event.I do this in my code in this way:After implementing IObjectWithSite interface, I define SetSite method as follow:public void SetSite(object pUnkSite){ // Release...
12 Mar 2012 by Member 8353487
I Followed this solution:http://social.msdn.microsoft.com/Forums/nl-NL/ieextensiondevelopment/thread/20b16462-63bd-4df4-8f2f-900307252ede[^]I implemented it as follows: public void SetSite(object pUnkSite) { // Release previous COM objects. ...
22 Oct 2015 by Maculish
I have get the problem,too. Did you get the solution?https://support.microsoft.com/en-us/kb/325079[^]
22 May 2016 by BladeLogan
I am trying to connect to the internet through a proxy, more specificlly, this site to test if the proxy is working AZ Environment variables 1.04 As you can see down below.. It is NOT connecting using the proxy I set it to, and as you can see in the code below, it should be.. I used the...
22 May 2016 by an0ther1
You are not setting your Proxy server in the webBrowser1_Navigating event handler, only in your Form_Load event handlerAdd the code to the webBrowser1_Navigating event handler to make your HttpWebRequest use the ProxyWebProxy myProxy = new WebProxy(proxyBox.Text);myRequest.Proxy =...
9 Feb 2012 by aspire1337
Hey,wenn running this command from cmd:c:\windows\explorer.exe "::{20D04FE0-3AEA-1069-A2D8-08002B30309D}\::{21EC2020-3AEA-1069-A2DD-08002B30309D}\::{2227A280-3AEA-1069-A2DE-08002B30309D}"printers and faxes open, in an own process (2. explorer.exe) with only this window.When i...
10 Feb 2012 by Martin Arapovic
Hi,Use ProcessStartInfo and set CreateNoWindow and UseShellExecute to desired values depending what you want to achieve.Explore this links:1. CreateNoWindow in combination with UseShellExecute[^]2. ProcessStartInfo Class[^]
20 Jul 2018 by Thaana Paana
I'm trying to run a cs file(with arguments) that is in my explorer(not through my IDE). There will be a single method named "main" in the cs file , I want to run that with arguments through my console app. EDIT: If your here for the same thing, :-] compiler construction - Is it possible to...
20 Jul 2018 by F-ES Sitecore
You can't execute a cs file, a cs file is just a text file. The IDE converts that text into compiled code that can be run.
20 Jul 2018 by OriginalGriff
To do that, you need to compile it - that's OK because every .NET installation includes the C# compiler, CSC.EXE: Compiling C# Code at Runtime[^] You can then run it using Process.Start (if it compiles cleanly): Process.Start Method (System.Diagnostics)[^]
20 Jul 2018 by MadMyche
You cannot invoke it directly. What you can do is select, compile, and then execute on-the-fly within the calling program
6 Feb 2022 by Member 14998692
In principle i can start the explorer with parameters, but this does not work with unc paths. Now I have found here a working version to get access to remote system on the C$ share. However, I do not want to read the C$-folder, i want to open...
6 Feb 2022 by Dave Kreskowiak
The rather lengthy code snippet at this page[^] seems like it'll do the trick. Once authenticated, you can open an Explorer window to the UCN path just by passing the UNC path as the argument with "explorer" as the Filename.
4 Jan 2017 by Member 10979894
InternetExplorer explorer =(InternetExplorer) ie;((HTMLDocumentEvents2_Event)ie.Document).onmousedown += new mshtml.HTMLDocumentEvents2_onmousedownEventHandler(OnMouseDown);public void OnMouseDown(IHTMLEventObj pEvtObj) { MessageBox.Show("MouseDown fired!"); ...
9 Jun 2011 by Abdullatif M. Abu Al Rub
How to change settings of any explorer(IE,fire fox,chrome...) using C sharp? I've read that it can be done by changing registry!! settings like disable-enable JscriptIf sample code available that will be awesomeThanks all
9 Jun 2011 by #realJSOP
5.3 million Google results for "c# change explorer settings"[^]
6 Nov 2022 by Mangesh9692
Convert KQL query to SQL Problem statement- Check event time stamp is exist in another table. eg In sql we can user "between" and "and" SELECT Evnt_GUID,Transactiontimestamp,* from TestTrasncstion (NOLOCK), ( SELECT star.GlobalID...
30 Mar 2021 by Maciej Los
First of all, please read this: Visual Representation of SQL Joins[^] I'd try this sql query: SELECT tt.Evnt_GUID, tt.Transactiontimestamp, je.* FROM TestTrasncstion tt(NOLOCK) LEFT JOIN ( SELECT Evnt_GUID , StartTime = MIN(CASE WHEN...
6 Nov 2022 by Member 15822000
You can use Mostly Harmless Sql Translator: Json Kusto Pandas[^] to translate your sql into kusto/KQL, there is a cookbook for simple sql statements. Good luck! ^_^
17 Jun 2013 by pvsunil
I am looking for developing an add-on in Internet Explorer and below is the requirement. I am looking for developing this using Visual Studio & C#. Hope i can develop using these platform with less effort. - Basically a textbox and a button will be shown in Internet Explorer as a new task...
30 May 2012 by Member 8560922
Our website design is fully Tableless and done in CSS 3. But our jquery is not working properly is it the problem of CSS or it is not supporting the IE7. Does Css 3 and tableless design works in IE7 and IE 8 Browsers.
30 May 2012 by Pete O'Hanlon
CSS 3 doesn't work in pre IE 9. CSS does, however. As you can do tableless design in pure CSS 1, are you sure that you need the full 3 part?
28 Aug 2021 by Ṉobody
I am creating an application to detect when any file is double-clicked in Windows Explorer or when the user clicks the right mouse button => Open. I need the full path of the file to open. Is there an API to use with C #? So if there are ways to...
28 Aug 2021 by Richard MacCutchan
See Extending Windows Explorer Namespaces with the .NET Framework | Microsoft Docs[^].
30 Oct 2012 by SSAFAK
Hi,I want to drag a link from address bar of internet explorer (opera, chrome, ie, firefox etc) to Listview in to my form and store it. Can anyone got easy idea?thanx.
30 Oct 2012 by Sergey Alexandrovich Kryukov
Here:http://msdn.microsoft.com/en-us/library/fe5ebfwe.aspx[^],http://msdn.microsoft.com/en-us/library/za0zx9y0.aspx[^],http://msdn.microsoft.com/en-us/library/bs2c4z53.aspx[^].—SA
1 Nov 2012 by SSAFAK
Thank you for the links. But i found my exact solution like that: private void listBox1_DragEnter(object sender, DragEventArgs e) { e.Effect = DragDropEffects.Copy; } private void listBox1_DragDrop(object sender, DragEventArgs e) ...
4 Apr 2013 by Marc Clifton
This is a very strange problem. I have an embedded WebBrowser control, and sometimes, depending on my previous action, the keyboard shortcuts for selected menu items (like "Alt-F" to pull down the File menu) do not work. Other times, they do.When I run Spy++, I can see that the window that...
4 Apr 2013 by ibrahim_ragab
//if your control not focusedif (!controlInstance.Focused){ //make it focused controlInstance.Focus(); //menu code here //{code}}
29 May 2014 by aks.shan
When I click on a asp dropdownlist control in Internet Explorer 11,i can see all the values of the dropdown populated above the control unlike in Internet explorer 8.When i click on dropdown list in internet explorer 8 i can see all the values populated downwards.how ca i get this in IE 11?
18 Jun 2014 by avelsamy
ERROR - SCRIPT5007: Unable to get property 'PageRequestManager' of undefined or null referenceIn IE 10 windows 7, when i run it in compatible mode or any other browser or other versions of IE i am not experiencing this error. Any solution for this.......thanks in...
18 Jun 2014 by Kornfeld Eliyahu Peter
ERROR - SCRIPT5007: Unable to get property 'PageRequestManager' of undefined or null reference in IE 10 windows 7[^]
22 Dec 2011 by contact97438
Hi Folks,I want to open explorer.exe on my control panel.I've succeeded for many other programs, like notepad, calc.exe, ... but when i try with explorer, an external windows explorer appears.Here's my code, some help please : Imports System.Runtime.InteropServicesPrivate...
22 Dec 2011 by Bojjaiah
you can try it//it's open Control Panel Process.Start ( "control.exe" );//it's open my computer Process.Start ( "explorer.exe" );//it's open Internet Explorer Process.Start ( "iexplore.exe" );
22 Dec 2011 by Sergey Alexandrovich Kryukov
This is expected behavior.Please understand that "Explorer" is a separate process, and the processes are well isolated. Even if you manage to stick its window into your form (this is possible in principle, but should be avoided by all means), you won't be able to integrate it functionally...
22 Dec 2011 by Monjurul Habib
The following example first spawns an instance of Internet Explorer and displays the contents of the Favorites folder in the browser. It then starts some other instances of Internet Explorer and displays some specific pages or sites. Finally it starts Internet Explorer with the window being...
18 Jan 2016 by Member 10395722
Hi,I have this code that i have been using for a long time and this works very well in Chrome, Firefox and even Opera. But I noticed that it does not work in Internet explorer. I have found a lot of things like to use ActiveX but this seems to need the user to change internet settings and...
21 Apr 2018 by Wade Harvey
This article shows how to use Winforms, WPF and C# to create a File Explorer Clone with Tabs and an extremely fast parallel file search utility.
31 Mar 2018 by Dirk Bahle
Lessons Learned on Software Design with WPF
11 Sep 2013 by CodingLover
Hi all,This is something related to folder columns in Windows 7.I ave a folder with some files, and by default I can see Name, Date Modified, Type and Size columns. Any time I can add additional columns into the folder. But those changes are not reflect in sub-folders in that folder. How...
23 Mar 2017 by Member 3395794
I want to Force internet Explorer Always to ask save file prompt, also downloading pdf and also with some reader installed. Someone knows what registry settings works for this purpose? Or any other solution?ThanksWhat I have tried:i need this working on webbrowser, i tried to add...
23 Mar 2017 by F-ES Sitecore
Send your file with the content type "application/octet-stream" rather than "application/pdf". That way the browser will always treat it as a basic binary file and the only options it will give are to open or save.Also as a basic rule "forcing IE to...." is never a solution for any problem....
18 Apr 2014 by Zoltán Zörgő
Hello all,I need a method to force document mode for specific sites. I have no any means to make the developers of those sites to put proper X-UA-Compatible headers. Actually I would imagine my code as an IE 10 or 11 extension that intercepts user activity and forces document mode according...
5 Sep 2018 by Thaana Paana
I want to return the windows right click items that is in HKEY_CLASSES_ROOT in order. By order like when you click a folder or a certain extension you get different menus and they are in separate places in HKEY_CLASSES_ROOT, how does windows know to return them in order on right click when they...
5 Sep 2018 by Richard MacCutchan
If you do not know anything about this subject then I would suggest starting with a simpler project. You can find lots of useful tutorials in the https://www.codeproject.com/KB/shell/[^] section, or by using Google.
5 Sep 2018 by BillW33
There is a good example of how to loop through all the keys for a registry here: https://stackoverflow.com/questions/1458653/iterate-through-registry-entries Read about the Registry Key Class here: https://docs.microsoft.com/en-us/dotnet/api/microsoft.win32.registrykey?view=netframework-4.7.2 ...
7 Aug 2013 by sörldrk1992
Hey guys,I am just getting started with C# and have already written a bit in Java. Now I have a project to create a toolbar and a context menu in windows explorer. Before I can go for it I need somethink to get used in C# so I wanted to ask if there are some easy tutorials which are some...
7 Aug 2013 by ridoy
See...Pretty IE Toolbar in C#[^]Add a context menu to the Windows...
12 Mar 2011 by Kunal Chowdhury «IN»
History of Internet Explorer [Birth of #IE to #IE9]
17 Nov 2012 by ohsorry
How can i capture the file selected message in Windows Explorer?on desktop or in windows explorer if a file or a folder's (or something else with a icon ) status is selected,then show a messagebox and print it's full name?if multiple selected print all of them?suppose I have the...
12 Dec 2016 by H.AL
I am facing an issue on IE, if Adobe reader was not installed PC or disabled in ADD ons in IE, no PDF could open on browser. I do not want to obligate users to download Adobe Reader to display PDF, I need a solution that could work on Chrome, Firefox and IE without any need of Adobe...
12 Dec 2016 by OriginalGriff
Your only option is to use a pdf to html converter - Google Search[^] at your server.If the client can't read PDFs, you can't force it to!
21 Nov 2019 by Member 14548718
I'm trying to update my old source code to UWP referencing Microsoft.UI.Xaml.dll TreeView control to display/replicate files and folders stored in a string[]. string[] stores the complete paths to one or more files. Example: C:\Users\User\Documents\Test1.txt C:\Users\User\Documents\Test2.txt...
15 Aug 2018 by kingtomxy
In Windows Explorer or other windows application, if you right click in an input box, a default context menu shows up which contains built-in items like 'copy', 'paste' etc. My question are: Can we add a new item into the default context menu with a custom name. If we add a new item, can we...
4 Jul 2012 by rafisyed
Hi,---> I got a chance to work in outlook 2007 Add-in.---> In VS2010 with a outlook2007 Add-in Template I'm started the development, when i run the applicationt outlook automatically started.with some Functions ,events I'm able complete our requirement.---> Now we got a...
11 Oct 2013 by ASP.NET Community
I had to create Umbraco database on my shared hosting (I am using Winhost at the moment) couple of days ago.After checking few examples on
22 Oct 2014 by DungVanNguyen
Dear all Code project members,I 'm developing Web application using ASP.NET, browser displays on 2 monitorsInternet Explorer of Monitor 1 has a button, anytime I click on button, Internet Explorer will be open on with another ASPX pageMonitor 2.Please support me solve this...
22 Oct 2014 by OriginalGriff
I'm pretty sure you can't do it: Javascript has nothing I am aware of that would allow you to detect the existence of dual monitors, much less display a new browser on a specific one!
4 Jun 2012 by parth891
I am working with a contenteditable div that will have the option to have inline html elements such as tags " " in the text flow.At certain points I need to grab the caret position, the caret is after an html child element. i am using following code for FF but not find any...
9 Jul 2012 by MinamiTiaki
I can use this code to get and set the contents in normal IE window: SHDocVw.ShellWindowsClass shellWindows = new SHDocVw.ShellWindowsClass(); foreach (SHDocVw.InternetExplorer MyIE in shellWindows) { //workflow }But, if...
12 Sep 2023 by David Edwards 2022
I want to open a picture that I have highlighted when I open a C# program that will show that picture. The best example would be RARzip. You can highlight the files you want to add to an archive then start Rarzip and it will grab those files for...
11 Sep 2023 by OriginalGriff
WinRAR and WinZip don't do that: You highlight the files in Explorer and then tell explorer to open WinZip or WinRAR - Explorer then adds the files to the "command line arguments" part of the application startup, and you can pick them up in your...
11 Sep 2023 by Gerry Schmitz
You're switching between a "picture" and "files". In the case of a "picture": right click the image and copy it to the clipboard. Retrieve the image from the clipboard with your program. Clipboard.GetImage Method (System.Windows.Forms) |...
10 Aug 2019 by Member 456781
I downloaded the code from http://www.codeproject.com/KB/shell/columnhandler.aspx "Explorer column handler shell extension in C#". I have Visual Studio 2005 and compliled using C#. (Got a few missing "Articles"). But the code is OK and when I build it, the build succeeds. I put Explorer.exe in...
10 Aug 2019 by OriginalGriff
Don't post this under Quick Answers - if you got the code from an article, then there is a "Add a Comment or Question" button at the bottom of that article, which causes an email to be sent to the author. They are then alerted that you wish to speak to them. Posting this here relies on them...
10 Aug 2019 by Member 456781
The author gave enough information. Here's the solution. Compiled to create the MD5ColumnHandler.dll (I used Visual Studio 2005). Tested as explained in my post and in the article using Debug mode calling Explorer. To implement so is part of XP after bootup (available immediately after doing...
8 Apr 2009 by Naveen
How to open Popup Blocker Settings window of IE programmatically?
6 Jul 2016 by Member 12618323
How to redirect the current page to a new page in **IE11** ?This is what I have got so far, but it didn't work. ------This htaccess IE11 redirect doesnt work...
6 Jul 2016 by Kornfeld Eliyahu Peter
You may be surprised but user agent string can be faked easily, so a browser can impost any other browser...For that reason you should not differentiate your site based on browser detection, but based on feature detection...For instance do no say I support only Chrome and FF, but say I...
5 Jan 2015 by usha sri latha
Hi All,Am working on Infragistic controls which will support for IE8.So, I have set IE8 compatibility mode in IE11 browser and allow to work on IE11.Its not working even if i have used meta tag like...or
24 Jan 2012 by vasle
I will try to add Column in Explorer.Cooking takes away from the project source code modification to add the Win XP did inIColumnProvider Add to Win 7 by becoming a vista deleted from the coverage should not have a problem.Win 7 How to Add a Column in a minute, you're going you know...
19 May 2015 by Krishna Chaitanya Bezawada
Hi,I developed an C# Windows Application which on Loaded will execute an SQL Query and get the Location Latitude and Longitudes. And displays the values to the user in a message Box. When a user clicks on OK button of the Message Box then Internet Explorer will be opened and the Google Maps...
19 May 2015 by Sinisa Hajnal
string lati = reader.GetValue(1).ToString();string longi = reader.GetValue(2).ToString();// I find this much more readable then concatenationstring url = String.Format("https://www.google.co.in/maps/place/{0},{1}", lati, longi);// keep this reference in member variable of the class...
4 May 2012 by lilyNaz
Hi,I have been trying to hook FindNextFileW in Explorer.exe.I have used IAT hooking and I manage to successfully change the address of FindNextfileW in the import table but when I execute the program, after the address is changed, explorer.exe restarts. I get a message box ,Data...
9 May 2012 by Randor
Hi,There is only a single possibility. When you get the Data Execution Prevention error message... it means that the instructions located in memory were not marked with execute access[^].It sounds like you are using an old hook library that was written prior to 2004 and intended for use...
20 May 2013 by Thomas ktg
I am developing an IE Extension for Gmail. I have to bring my product signature inside the Compose Editor of Gmail and a button down the Tool Bar of Gmail Compose Editor. At First Time when i click on the Compose Button, Gmail's New composers pop up window is opened, I could bring my product...
24 Sep 2013 by P Uday kishore
Which is the file that stores information of IE downloads in XP,Is there any structure to read that file.
24 Sep 2013 by Richard MacCutchan
See https://www.google.com/search?q=internet+explorer+save+files[^].
24 Mar 2016 by Simon Langdon
Can anyone provide insight into why the IE Control in our application randomly, infrequently locks up. Because we don't have access to our customer's computers, especially not in a debuggable state, this one's proving really hard to pinpoint. This is an MFC, MDI application where several...
22 May 2012 by Member 4584900
How can I create the horizontal toolbar for internet explorer. I have followed the following documents to create the toolbar... Pretty IE Toolbar in C#This code is working fine with the explorer bar only. if i am trying to use the same for the vertical explorer bar then it is not...
13 Oct 2011 by fareedulhassan
Dear All,Is it possible to set our IE setting like ActiveX enable etc. We can apply our Testing or programming setting to all other clients or users IE browser.I want to do dynamically in our asp.net application to set the IE settings according to our requirement like to enable ActiveX...
13 Oct 2011 by DaveAuld
You could use Group policy to do blanket configurations, searching Google shows up several results, here are just a...
7 Aug 2013 by sörldrk1992
Hey guys, I am having a project ot integrate a programm to the Windows Explorer. I have drawn a sketch:http://250kb.de/u/130808/p/DEExt1iLd7a5.png[^]So I have to create a toolbar (1) with some additional functionalities. I have to create a context menu (2) with my points.The third...
7 Aug 2013 by Garth J Lancaster
Thank you so much for your link and the trash that popped up with it !Windows Explorer provides very little - in fact, nada for the sort of integration you suggest. There are, however, some 'Explorer like' programs, that may server as a starting point 'g'
13 May 2011 by ITFreak83
Hi,i have a small problem. Our customer connects via the internet explorer to a internal webpage. He must authenticate and download my program which connect to the same webpage to download some other files. And now i have the problem, that my program must reauthenticate with the same login...
15 May 2011 by Kim Togo
I cannot see that this is possible or else you can bypass all security disregard what program you have.I think the best way is to have the user re authenticate, and save user and password in a safely way.Password Storage: How to do it.[^]
15 May 2011 by #realJSOP
You can't copy sessions, because each "browser" instance creates/maintains its own session. Since it's an internal website, you could just use the user's Windows login to log in to the site.
15 May 2011 by ITFreak83
Thanks for your help! Thats what I was afraid of :(
26 Apr 2018 by DKBZA
Hello. Am from argentina and new member of codeproject, i don't understand much english. Excuse me for that... is posible in batch obtain folders path of all opened file explorer windows? verifyng in the recent folder is not the same results before close explorer is posible in batch...
26 Apr 2018 by Maciej Los
Check this: How do you list all processes on the command line in Windows?[^] and this: Get Process List via WMI[^]
8 Apr 2021 by rupali.namdeo
How to upload data from a CSV file to directly in Azure table storage without using powershell? What I have tried: Tried to use storage explorer and there is no option to import data.
27 Sep 2013 by Drew Eidt
The following source is working in Chrome but not IE or Firefox.Any ideas would be GREATLY appreciated!Site: http://www.homelistingslondonontario.com/default.asp
27 Sep 2013 by SrikantSahu
//If the hr:mm:ss part is removed from the Date object. The code is working fine in IE9var d2 = new Date('2013-09-17');//I wonder , that part can be removed.//new Date() gave me the below result//Sat Sep 28 2013 00:15:53 GMT+0530 (India Standard Time)//new Date('2013-09-17') gave the...
12 Apr 2013 by vivek.khatri
i've made a windows form application in .Net Framework 4.0 that should keep track on the shell process i.e. "explorer.exe" and if any window or program starts under this "explorer.exe" process, i want to kill it immediately, but NOTE : i don't want to kill "explorer.exe" process because it is...