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
0
votes
0 answers

Icon extraction and namespaces

I am currently trying to make some modifications to some existing .NET code as I want to extend the current functionality. Unfortunately I do not have much experience in MSDN and need help with the namespaces. The current code uses…
0
votes
0 answers

File type returns empty string

I'm trying get file type name (like Folder, bitmap image, Text file etc...) with c#. I dont want get from registry because of privilege reasons. I found this method from internet. It working well for get file icon (SHGFI_LARGEICON,…
Fatih
  • 945
  • 15
  • 26
0
votes
0 answers

How to trigger RegenerateUserEnvironment forcibly

I'm currently having trouble applying logon script(powershell) on windows servers. The logon script has the line to set user environment variables but the variables don't look like being applying immediately from the result of set command on…
0
votes
1 answer

Create shell link using javascript js-ctypes

So this is as far as I got. Before I spend days throwing darts in the dark. I wanted to know if anybody has any tips. I obviously can't call the methods from pShellLink directly. So I need a way to declare them, but I can't figure out how. There is…
0
votes
2 answers

shell.NameSpace(path) returns null when path is a portable device's folder

I am trying to move files from one path to another, the destination path needs to support portable devices like android phones. After discovering FolderBrowserDialog does not support portable devices I found this blog that explains how to use…
cnc
  • 23
  • 8
0
votes
1 answer

Property handler shell extension

Does anybody know how to implement property handler shell extension? I'm interested mainly in .NET implementation.
apaka
  • 151
  • 1
  • 5
0
votes
0 answers

IShellDispatch NameSpace-call fails, don't know why

First time working with COM from C++, been using C# and Delphi before. So here's the code HRESULT Result; Result = CoInitialize(nullptr); if (!SUCCEEDED(Result)) return Result; IShellDispatch* API; Result =…
ReBoot
  • 27
  • 1
  • 3
0
votes
1 answer

How to refresh explorer after mounting to show mounted drive in VC++?

I am using driver code for mounting FTP Drives with NPAddConnection3 now the problem is when i mount the drive it gets mounted but i need to kill explorer and restart manually to see the mounted drive . How to solve this problem ? How i can get see…
Swapnil Gupta
  • 8,751
  • 15
  • 57
  • 75
0
votes
1 answer

Shell32.dll .NET interface is dependent from the OS

I want to find every application listed in the user program menu. I use the following routine: private static void ProcessDirectoryLnkFiles(string path, bool recurse, UpdateProcessFromLnkDelegate sProcFile) { try { string[]…
Luca
  • 11,646
  • 11
  • 70
  • 125
0
votes
1 answer

Iterating over an array batch script

While following a tutorial for iterating over arrays in a batch script I didn't get the same result: @echo off setlocal enabledelayedexpansion set topic[0] = comments set topic[1] = variables set topic[2] = Arrays set topic[3] = Decision…
Adrian Elder
  • 1,993
  • 3
  • 19
  • 38
0
votes
2 answers

How to delete multi-selected items from recyclebin using C#?

how to delete multi-items via C# or windows api, I have search for this for a long time and no solution. I used FolderItemVerb in Shell32.dll to delete file one by one, but it would pop a dialog at same time. I will be appreciated if you know how…
roy
  • 11
  • 2
0
votes
1 answer

Performance issue when moving of files on network shares

I'm writing an application which can copy files on a network share. Usually the files are moved on the same physical hard drive. If you test this with Windows Explorer, this operation will be executed really quickly. It seems, that Windows knows…
Christian Metzler
  • 2,971
  • 5
  • 24
  • 30
0
votes
0 answers

interop.Shell32.dll does not find attributes on IIS8/Windows 2012

This code works in development with IIS 7.5 for printing the extended attributes of a file, but does not find the attributes when running on the production server running IIS 8. There are no errors and the attributes do appear in Windows…
0
votes
2 answers

Can Shell32 extraction work with a progressbar?

I'm trying to make my program extract a .zip file, deliver it's content in a folder, while showing progress in a progressbar. If i somewhat cont get the progressbar thing to work, i would also apprieciate if the "Unzipper" could just switch to…
user4615836
0
votes
0 answers

How to display the standard progress dialog when copying files?

Windows has a nice dialog when copying files, which shows the progress. I want to re-use this dialog when I copy files from C#. I probably need some P/Invoke calls for this, can someone show me how to do it? I'm aware that in the VisualBasic…
Maestro
  • 9,046
  • 15
  • 83
  • 116
1 2 3
8 9