Questions tagged [shell32]

The shell32 manages the Windows graphicall shell. It implements a lot of the Windows Explorer.

The Shell Namespace. Like files and directories forms a filesystem hierarchy, the hierarchy displayed by shell32 is called the shell namespace. It contains all the files and directories as descendents of My Computer (and under wine the Unixfs '/' folder) but it contains many more folders (e.g. Control Panel, Network Neighborhood etc.)

127 questions
1
vote
1 answer

How to change windows recyclebin properties

How can I get this property of recyclebin and switch it using C#.
roy
  • 11
  • 2
1
vote
2 answers

How To Compress Folder-Contents in 1 Statement on Windows?

I'm attempting to zip a folder containing subfolders and items, using Windows shell CopyHere…
johny why
  • 2,047
  • 7
  • 27
  • 52
1
vote
1 answer

What is the reason for null entries in address export table of a windows pe file?

I have a project I have built that inspects a Windows PE file. When processing certain files, such as User32 and Shell32, I notice there are entries in the export address table that are 0. What is the purpose of having a null (0) entry in the export…
David Jones
  • 149
  • 13
1
vote
1 answer

Visual Basic (vb.net): Get details of video file eg. frame width

I am using the shell32.dll to retrieve extended properties of a file. My textbox will display every property of the file (iCollumn -1 to 300) but it won't show the framewidth or frameheight (and many other properties). Is there any way to get these…
user207913
  • 19
  • 1
  • 4
1
vote
2 answers

Getting Vista/Windows Search/propsys.dll properties from the shell in managed code

Has anyone managed to do this? I tried making a managed wrapper class for IPropertyStore but am getting AccessViolationExceptions on the methods (i.e. IPropertyStore::GetValue) that take a pointer to PROPVARIANT (rendered as a…
Max Strini
  • 2,288
  • 21
  • 24
1
vote
0 answers

How to debug Shell32 copyHere Zip

I am trying to debug some C# code and would appreciate your help. This is my code. sourceZipFile = objShell.NameSpace(@incomingZipFilesFolder.FullName + this.zipFile.Title); try { //extract and copy all files …
Tobias Wittur
  • 63
  • 1
  • 8
1
vote
1 answer

Unzip with Shell32 doesnt work after hosting web application

I am using below code to unzip my file. It works perfectly on local machine. But when I host this code on server it does Unzip file perfectly, but it waits there to finish something. Don't know why it's waiting. Shell32.ShellClass sc = new…
1
vote
1 answer

Error com4j.ComException: 80004005 .\invoke.cpp:51 while getting open windows and selected items

I need to get all selected files and folders in Windows Explorer. I'm using com4j to access win Shell32 API (thanks to Tom91136, refer this if you need to learn how can you install and initialize com4j). This code class gets the selected files or…
amone
  • 3,712
  • 10
  • 36
  • 53
1
vote
2 answers

Check if a User is renaming a file in File Explorer at the Moment C#

I'm programming a C# program which listens for Space pressed in the File Explorer. When space is pressed I create a WPF window which shows the selected File in a WPF Window. The only problem is, that this file Preview is also called when someone is…
user2974830
  • 428
  • 1
  • 4
  • 13
1
vote
1 answer

File Icon's current overlay

I have been scouring the internet for about 5 hours now and i'll be damned if i can find the answer to this. I have found this question unanswered in multiple places along my journey. I'm willing to work with any language that can yield information…
Spark
  • 1,007
  • 1
  • 8
  • 26
1
vote
4 answers

c# Shell32 zip / unzip code, CopyHere not working

I'm having some issues with the Shell32 CopyHere method. First of all, I'm working from this page: http://www.codeproject.com/Tips/257193/Easily-zip-unzip-files-using-Windows-Shell32 I was hoping to rewrite something similar in C# just because I…
Mike
  • 399
  • 2
  • 9
  • 19
1
vote
1 answer

Issue with SHAppBarMessage for TaskBar Position on Windows Server 2008R2

I am having a really strange issue with SHAppBarMessage, have been trying out different things for few hours now but i am not getting it. I am trying to get the TaskBar Position. It works fine on Windows 8 but on Windows Server the return value is…
Mirza Bilal
  • 891
  • 11
  • 34
1
vote
1 answer

Why can Detours no longer hook shell32.dll functions in Windows 7+

In Windows XP it was possible to hook explorer with the following shell32 hook: Real_SHFileOperation = (T_SHFileOperation) DetourFindFunction("shell32.dll", "SHFileOperationW"); nError = DetourAttach(&(PVOID&)Real_SHFileOperation,…
Benj
  • 31,668
  • 17
  • 78
  • 127
1
vote
1 answer

Scheduled task user not logged in, how to change to interactive mode once user logs in

I have a scheduled task that runs an app; let's say notepad.exe. If the task "runs only when a user is logged in," I can see notepad, but if the task "runs whether user is logged in or not" notepad does not run in interactive mode. And even if I am…
DrPopTart
  • 111
  • 1
  • 8
1
vote
1 answer

shell32.dll: access violation during GetOpenFileName new thread

GetOpenFileName fails with access violation. File must be on DESKTOP and have long name. Problem occurs only after first successful open of the file. Problem occurs when mouse cursor hovers over file as tool tip about to be displayed. See the…
Mike D
  • 2,753
  • 8
  • 44
  • 77
1 2 3
8 9