shell32 Questions
8
Solved
What should I include within a C# application in order to make Shell32 work?
Edit:
My application can't recognize shell32. What references or lib should I include? What I'm trying to do is:
Shel...
4
Solved
I've seen answers using GetDetailsOf() to get details about shell items, but the numbers are always magic numbers.
I've looked at the docs for both FolderItem and GetDetailsOf but found nothing. (...
1
I have been trying to find any information on a value that is stored in an url shortcut that is generated from MS-Office for SharePoint Libraries. We are moving away from Office 2007 to Office 365 ...
4
I have a .NET 4.0 library that uses Shell32 and Folder.GetDetailsOf() to get metadata from WTV files. I have used it successfully with Console and Windows Forms apps without issue. But for some rea...
Chelseychelsie asked 27/1, 2013 at 0:57
1
Solved
There is a powershell script to copy files between pc and android via MTP programmatically,see access-file-system-against-mtp-connection,and it works when it running under powershell console,then i...
Preview asked 23/11, 2016 at 9:10
1
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 W...
Bernardobernarr asked 30/11, 2013 at 9:42
3
I am trying to get a list of selected files from the Windows Desktop and the Explorer Windows.
The requirement is that I should be able to retrieve the current selection from the active explorer wi...
Wesleyanism asked 30/9, 2013 at 13:13
2
Solved
I need to unzip en zip some files in my application using Shell32. Right now, I use srcFolder.CopyHere(destFolder.Items()) to achieve this. However, my next line of code requires the newly made ZIP...
Cambridge asked 6/4, 2012 at 11:26
4
Solved
Forgive me if my terminology is off, as this is somewhat uncharted territory for me.
I have a program which needs to create a FolderShortcut. Microsoft has documentation on how to create it in C++...
1
Solved
We have been using Shell32 Folder.GetDetailsOf(folderItem, column) to get file details and extended file details of different files. Unfortunately this breaks between OS versions since the column n...
Eulogistic asked 21/1, 2013 at 12:57
4
Solved
It's possible, but is it appropriate to use SHFileOperation within a Windows service? All those SHxxx API functions in shell32.dll seem to have been written with user level programs in mind. Can I ...
2
Solved
So I'm using the following code to dump every extended file attribute to the debug console...
ShellClass shellClass = new ShellClass();
Folder dir = shellClass.NameSpace(Path.GetDirectoryName(sFil...
2
Solved
In a .NET 4.0 application (WPF) we're using SHGetFileInfo to obtain shell icons for a directory tree. Since this takes quite some time in some cases (i.e. for a network drive that is unreachable or...
Overbid asked 11/4, 2012 at 12:3
1
Solved
I have the following code:
[DllImport("shell32.dll", CharSet = CharSet.Unicode, PreserveSig = false)]
static extern void SHCreateItemFromParsingName(
[In][MarshalAs(UnmanagedType.LPWStr)] string p...
2
Solved
Is there any way to open a windows shortcut (.lnk file) and change it's target? I found the following snippet which allows me to find the current target, but it's a read-only property:
Shell32::Sh...
Ryurik asked 29/9, 2010 at 15:3
1
Solved
I'm trying to read the targets of all desktop shortcuts in a C# 4 application. The shortcuts on a windows desktop can come from more that one location, depending on whether the shortcut is created ...
1
Solved
Hmmm. Okay after revisiting PInvoke, I'm sure that I don't quite get it :-/ (just asked this question)
Let me illustrate the code I need to handle. It works when I use "Add Reference --> COM --> M...
Beckham asked 25/1, 2010 at 16:21
3
Solved
I need the reference system32/shell32.dll as I use some shell functions to read out the recycling bin. I tried "Add Reference --> COM --> Microsoft Shell Controls and Automatation" and "Add Referen...
1
Solved
Is there any Win32/MFC API to get the CSIDL_LOCAL_APPDATA for any user that I want (not only the currently logged on one)? Let's say I have a list of users in the form "domain\user" and I want to g...
Smokeless asked 25/9, 2008 at 6:28
1
© 2022 - 2024 — McMap. All rights reserved.