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
1 answer

String retrieved as shell32 GetDetailsOf never '=='s hard coded string that appear the same. Unable to parse with DateTime.Parse

My real aim is to DateTime.Parse a date string from Shell32 GetDetailsOf Extended date field. While furthering my debuging, I simply created a string that appears the same and DateTime is able to parse it. When I view the 2 strings in Memory, they…
ttugates
  • 5,818
  • 3
  • 44
  • 54
0
votes
1 answer

Option Strict Late Binding error issue

The option Strict throws me an error of Late Binding, I always cast the objects to the proper type but in this specific case I don't know how to cast this object. The warning occurs in the instruction Shell.ToggleDesktop() Here is the code: '''…
ElektroStudios
  • 19,105
  • 33
  • 200
  • 417
0
votes
0 answers

VS/.Net Interop Type library load failure with PortableDeviceApiLib

This is about a Windows Forms application, .Net 4.0, Visual Studio 2010. My imaging application uses PortableDeviceApiLib and PortableDeviceTypesLib using generated Interop libraries. This causes type information load failure when PortableDevice…
dhovel
  • 61
  • 3
0
votes
1 answer

ILClone on Windows 2000

Does anyone know of any issues with the ILClone() function on Windows 2000? Is it fully supported? MSDN says it runs on Windows 2000 but I have a user reporting that my program will not run on Windows 2000 because of that function. EDIT: I was able…
00010000
  • 323
  • 1
  • 4
  • 13
0
votes
0 answers

SHGetFileInfo causes Heap Corruption when using SHGFI_ICON

When I enable Page Heap for my process under test, it triggers an Access Violation which indicates to me some type of heap corruption has occurred when SHGetFileInfo is called. The top of the call stack shows msvcr90!wcspbrk and walking down it…
JosephA
  • 1,187
  • 3
  • 13
  • 27
0
votes
1 answer

Shell32 File extractor script for vb.net

I am writing a vb.net script for distribution but I have run into a problem. The script can't extract zip files using the COM referenced Shell32 library without triggering antivirus since I am building into an exe. I was wondering if anyone knew a…
0
votes
2 answers

Reference shell32.dll in a programmatically compiled program?

I need shell32 in my program to create a shortcut. This is my code: var compiler = new CSharpCodeProvider(); var Params = new System.CodeDom.Compiler.CompilerParameters { GenerateExecutable = true, OutputAssembly = outputName, …
Andreas
  • 558
  • 6
  • 5
0
votes
1 answer

VBA Shell32 Icons

Is there any way to embed Icons from Shell32 into an Access application? Ideally I'd like to have them stored as images (perhaps in an ImageList) but it doesn't really matter, as long as I can use them in the application. It appears that the…
Jiminy Cricket
  • 1,377
  • 2
  • 15
  • 24
0
votes
1 answer

VB.NET System.NullReferenceException when zipping a file using shell32

I was trying to make a program that zips a folder but I keep getting a NullReferenceException and it does not create the required zip file. Have I forgot something? I am using Shell32 and the zip sub comes from a codeproject tutorial. Anyways, here…
0
votes
1 answer

using shell32 inside C++

I am trying to use some code that uses the IID_IShellDispatch and CLSID_Shell constants. My includes: #include #include #include #include #include #include #include The…
hytromo
  • 1,501
  • 2
  • 27
  • 57
0
votes
3 answers

Need Working Example of Shell32's ExtractAssociatedIcon Function in .NET

I need a working example of the ExtractAssociatedIcon function in Shell32.dll. I cannot get it working and I am out of ideas. I need another set of eyes on the following code. When the form loads, its icon should be set to the Visual Studio icon,…
AMissico
  • 21,470
  • 7
  • 78
  • 106
0
votes
2 answers

Shell32.lib not found when compiling for Windows Mobile 6

I tried to compile a simple windows mobile 6 project which uses the SHBrowseForFolder api call. I have also included shell32.lib in the project linker dependencies. Somehow, the shell32.lib seems to be missing in the ARMv4 sdk. Is there a workaround…
ravindu1024
  • 1,496
  • 1
  • 13
  • 30
0
votes
1 answer

VB.net Class Not Registered Error

I'm in the process of writing a VB application but whenever I run the application I get the error listed below: "An error occurred creating the form. See Exception.InnerException for details. The error is: Retrieving the COM class factory for…
jbeverid
  • 291
  • 7
  • 23
0
votes
2 answers

LNK 2019 ShellExecuteEx unresolved external symbol Qt Creator

I work on Windows7 x64 in c++ language. I created a project that open firefox browser when I show a marker to my web cam, using ShellExecuteEx function. My project works well with visual studio 2010. But, when I try to run my project with Qt…
Cristina1986
  • 505
  • 1
  • 8
  • 21
0
votes
2 answers

P/Invoke for shell32.dll's SHMultiFileProperties

I'm not very good with P/Invoke. Can anyone tell me how to declare and use the following shell32.dll function in .NET? From http://msdn.microsoft.com/en-us/library/bb762230%28VS.85%29.aspx: HRESULT SHMultiFileProperties( IDataObject…
David Boike
  • 18,545
  • 7
  • 59
  • 94
1 2 3
8
9