windows-explorer

Dragging files to an .exe sets different working directory

Hi! If I have a regular console application (or any other application for that matter) and drag a file onto the .exe file using windows explorer (in order to use the file as "command-line-input"), the current directory is set to some other directory (my home folder?), rather than the directory where the application is located. If I star...

Determining whether explorer.exe runs as a windows shell?

I need to make sure that explorer.exe runs as a system shell. What I need to do is: Overwrite the current shell (Winlogon\Shell) with explorer.exe Run explorer.exe (as shell) Overwrite the current shell with my own shell. Between the last two steps is a race: If I overwrite the current shell with my own shell too quickly, only "My ...

What is the best way to debug a crashing explorer.exe ?

I work for an orginization that has a custom built Access/SQL Application running in house. We have a problem Explorer.exe throwing an error and crashing. This is a picture of the crash: What is the best way to start tracking this problem down and finding a solution ? ...

How to tell if Windows Taskbar's "autohide" is enabled?

How can I tell via a Delphi program if the Windows Explorer Taskbar is set to Autohide? ...

FileInfo object property question - C#?

Does the following System.IO.FileInfo properties map to the following properties in the Windows Explorer application: CreationTime = Date Created LastWriteTime = Date Modified LastAccessTime = Date Accessed ...

How to add a shortcut to the 'SendTo' menu that will be available to all users.

You can add a new item to the 'Send To' Windows explorer menu by creating an application shortcut in the SendTo folder contained in the user's profile folder e.g. C:\Documents and Settings\Username\SendTo\ But how do you add a 'Send To' menu item that will be available to all users without having to add it to every user's profile folder...

C#: How to open Windows Explorer windows with a number of files selected

In the Library of Windows Media Player you can select one or more music files. You can then right-click and in their context menu choose Open File Location. This will open up one windows explorer window for each directory that the files are in, and the files will be selected for you. So let's say we have a bunch of mp3 files in our lib...

How do I keep Windows Explorer from interfering with deleting a folder?

I've got a routine that deletes a folder and everything in it. After deleting all the files, the last thing it does is: if not Windows.RemoveDirectory(pname) then raise EInOutError.Create(SysErrorMessage(GetLastError)); Unfortunately, I tend to get an error from this if I have an open window in Windows Explorer displaying the folder...

With VBA, how can I check if, in Windows Explorer, the file extensions for known file types are hidden?

Without opening Windows Explorer. I want to check for this from Word VBA. Thanks. EDIT: This code works now: Set WshShell = CreateObject("WScript.Shell") If WshShell.RegRead("HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\HideFileExt") = 0 Then MsgBox Prompt:="In Windows Explorer, set the folder op...

Is there a way to have ClearCase display icons in the Windows Explorer to denote the state of files/directories?

For example, in TortoiseSVN, I can find out when a directory is out-of-date or checked out by looking at the images in the corner of the directory icon. However, I don't have that with ClearCase. Inside of Eclipse, I can see what I have checked in/out, but I'm not always inside Eclipse. It appears that I can right click on the file and I...

Drag and drop from C# to Windows Explorer with IStorage/IStream

I've been working on what sounds like simple functionality for way too long now. The idea is that I have an application with a TreeView. This treeview represents contents of a database organized into files and folders, much like Windows Explorer. So it makes sense that the user should be able to drag those files/folders out of my app ...

BHO or Command Button for explorer

Hi I am trying to develop a command button that would appear on windows explorer. I can do this for an NSE but what I want to do is make the button visible on every explorer window. I want it to work for windows 7 and vista. I know it is possible as I have seen office Groove do it, and I am not sure if I have to implement the IExplorer(...

Is there a open source SVG Windows Explorer preview extension?

Examotion has a player that can display the image for svg files as a preview in Windows Explorer. Their product is free, but closed source. I believe that it also only works with files that actually end in .svg. I have a need for a similar product that works with files also ending in some other extensions. Is there an OSS solution th...

Any documentation for Win32 ShellEx StorageHandler?

I'm currently poking around with a new archive format and was interested in implementing a shell extension like the native Zip support that Windows XP has. This appears to be done by registering a shell extension that implements a StorageHandler. Problem is that according to MSDN, this handler doesn't exist. I've tried Googling variou...

How can I create a new instance of explorer.exe by Microsoft Visual C++ ?

When I use CreateProcess API, the result is successful, but there is no new instance of explorer.exe, and the old instance just open a folder. So, How can I create a new instance of explorer.exe by Microsoft Visual C++ ? ...

Embed Windows Explorer inside an MS Access form

is there a widget to embed an explorer like view inside an ms access form? i have a folder with the name of the primary key, which holds documents (.doc, .xls) for that dataset (it’s an employees table) currently i have a button which opens an explorer window, but having it embedded would be really nice. any help, link, similar questi...

How to run ShellExecute on shell object clsid ?

Shell explorer on Windows define global objects such as ::{2559a1f4-21d7-11d4-bdaf-00c04f60b9f0 which is a link to the user "internet browser". I got these value from a shortcut that is drag&dropped over my application, but I can't find how to use it to open it... I'd like to get information about what this object is too. Does someo...

Windows Explorer add-ons

How do tools like SVN and Git attach themselves to Windows Explorer, such that they add options to the right-click menu as well as adding the tick/exclamation mark based on whether a file has been edited? (I'm not after Git or SVN-specific information - I just used them as examples) ...

Open containing directory in Windows Explorer from IntelliJ

Is there a way (keyboard shortcut?) to open the folder of the currently opened file in Windows Explorer? What I mean is this: When a java source file is open in IntelliJ, I'd like to open Windows Explorer on the folder containing that file. Is there a short way of doing that? ...

Trouble with detecting mouse movements in a TcxGrid when dragging files from Windows Explorer

I recently added a feature to a large application written in Delphi (version 2009) that allows the user to drag files from Windows explorer and drop them on a TcxGrid control. I achieved this via the common method of attaching my own window proc to the grid and intercepting the WM_DROPFILES message: originalGridWindowProc := cxGrid.Win...