How does Windows decide which icon format to display when showing an exe's icon in Windows Explorer?
Problem: When we look at our icon file and exe with embedded icon file in various Windows Explorer file views, the icon file is displayed in a higher quality mode than the icon displayed for our executable even though the icon in our exe...
There are many file sort criterion for explorer, such as:
Name, Date, Type, Size, Tags, Rating, etc.
Which API can retrieve the current sort criterion and sort mode (from smaller to larger or larger to smaller).
THX:)
...
Hi, do you know any good example how to create listView which will look and has the same methods as windows explorer.
copying, pasting, display thumbnails ??
I must use listView because I can't allow user to change directory, and I can't disable this option in windows explorer(I mean the place where can I click to go up or down or put ...
An application I use, Mozy Backup, adds its own "drive" to Windows Explorer that I can browse and view all the files I've backed up. Windows knows it's not a physical drive - it's shows up under "Other" if my drive list is divided by type.
How is a "drive" like this registered with explorer? I'd like to do this with a current .NET appli...
I'm currently using:
Process.Start("explorer.exe", "/Select, " + fullPath); //with file name.extension
That basically tells windows explorer to open the folder where the file is in, with the given file selected.
But, by the forces of evil, sometimes it works and sometimes it just opens the file ("/select" is... ignored)
Has anyone e...
This sounds like a really good idea:
Ageing Icons with Freshness App
Unfortunately the "demo" is Mac only. How would you go about replicating this on Windows?
One approach I can think off is to modify the desktop.ini file within each folder. This would require a service that periodically scans some folders and updates the desktop.ini ...
My program sets "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" value "Hidden". Hovewer I'm not able to refresh the explorer to take into account this change. I've tried:
1)
SHChangeNotify(SHCNE_ASSOCCHANGED, SHCNF_IDLIST, IntPtr.Zero, IntPtr.Zero);`
2)
SHELLSTATE state = new SHELLSTATE();
state.fSh...
I'm trying to add different icon overlays over the icons of various files (note: not all the files of a certain type, just certain files). If you don't get what I mean, I'm referring to what programs like TortoiseSVN, TortoiseHG, Dropbox, etc. do.
Can this be done in .NET? If so, how? I'm hoping there's a library out there for this. I f...
Is there a function in Windows API to toggle the "Show hidden files, folders and drives" option in Windows Explorer (Tools >> Folder Options... >> View tab).
I know of a related registry key, but changing that would not have immediate effect. The key is: HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Windows/CurrentVersion/Explorer/Advanced/Hidd...
I created a windows explorer toolbar in C#. This toolbar is removed when uninstalling my applicaiton but it's still shown after unregistering (cached in explorer.exe). explorer.exe needs a restart in order toolbar to dissapear. How can I fix this by C# code?
...
Hy everybody,
I'm wondering if it's possible to add a new button via C++ or C# to windows 7 explorer "context strip"(don't know if this is correct name) - like on picture below.
My reason for this is because a lot of times I'm switching on&off "Show hidden files, folders and drives" functionality under Tools->Folder option->View. There...
Hello StackOverflow community,
Is there any way to open a folder in Windows Explorer from Adobe AIR?
It looks like these APIs won't be added until AIR 2.0, but until then are there any workarounds that can be used to enable this feature?
Thanks,
Mauricio
...
When accessing a webdav using Windows Explorer (Not IE), the call is redirected thru the svchost.exe process (with webclnt.dll).
When i check get the pid of the process that is connected to the local port, i get the pid of the svchost.exe process.
How can i get the user account that the call was associated to?
...
Hi. I've written an explorer extension to display my custom file format in the Preview Pane. This works fine in Windows 7, but doesn't seem to work in Vista. The same DLL handles both thumbnails and the preview pane. The thumbnails side of things work in both Vista and Windows7.
Adding logs to my code, Vistas only calling my DllGetC...
This can be a handy functionality to have in a program that works with files/folders. It's easy enough to actually open the containing folder using:
System.Diagnostics.Process.Start( *path to folder* );
...but how do I go about actually selecting the target file within that parent folder? If I use the Process.Start method it actually ...
While debugging my program, whether it's an ASP.NET application or a .NET console EXE and I have the debugger paused at a breakpoint I try to find a file in Windows Explorer. Either pressing WinKey+F or selecting search from the context menu freezes Windows Explorer - until I resume the program being debugged.
My program has nothing to ...
I wonder why this is not integrated by default. I'd like to have an item in Windows Explorer's file context menu of a VS solution file to build it.
Is there a tool for this? Or do I have to create this myself?
...
Hi, i am building an outlook addin that utilizes the windows clipboard for temporary storage. When i make a call to Clipboard.Clear() at the end of the process, Windows Explorer crashes and needs to restart.
Does anyone know why this may be?
It ONLY happens on a 64bit OS, not 32bit..
...
I'm trying to use this excellent example to implement dropping virtual files into Windows Explorer. However, I'm stymied by this error. Towards the bottom, inside void System.Runtime.InteropServices.ComTypes.IDataObject.GetData(ref System.Runtime.InteropServices.ComTypes.FORMATETC formatetc, out System.Runtime.InteropServices.ComTypes.ST...
I started trying to implement drag-and-drop of virtual files (from a C# 4/WPF app) with this codeproject tutorial. After spending some time trying to figure out a DV_E_FORMATETC error, I figured out I need to support the "Shell IDList Array" data format. But there seems to be next to zero documentation on what this format actually does.
...