Questions tagged [shell32.dll]

shell32.dll is a library which contains Windows Shell API functions.

53 questions
0
votes
1 answer

How to extract passowrd protected ZIP file using shell32 in c#?

I have written some code in C#, however, it fails if my ZIP file is password protected otherwise extracts the file if there is no password protection. Shell32.ShellClass sc = new Shell32.ShellClass(); Shell32.Folder SrcFlder =…
user948401
  • 31
  • 6
0
votes
1 answer

ShellExecuteEx to open file properties on x64 not work

I use the following VB.net (Framework 4) code to open file properties. This works fine when target is set to x86. _ Public Structure SHELLEXECUTEINFO Public cbSize As Integer Public fMask As UInteger …
Chatfix
  • 73
  • 8
0
votes
0 answers

how to use shell32.dll ExtractAssociatedIcon across UNC path in VB.net

I have found plenty of examples in C#, but I cannot make this work in VB no matter what I try. The only icon I can extract is the one representing a file with no association. If there is a better approach I am open to that too. Here is the…
theoldlr
  • 31
  • 3
0
votes
1 answer

C# - What happens if I set dll option "embedded interop type" to false or true in vs10?

Just wanted to know in general what happens in this case, actually the problem is that one of my projects is using shell32.dll which compiles and executes fine on windows 7 PC however fails on other system like windows xp giving an runtime error…
Zameer Ansari
  • 28,977
  • 24
  • 140
  • 219
0
votes
0 answers

QT4 and shell32.dll - use built-in windows icons

is there any possibility to do something like this in Linux (QIcon::fromTheme("application-exit");) in Windows too? Is there any trick how to make app to have uniform look with actual system and theme? I also don't want to include my own icons, it…
Kovo
  • 434
  • 4
  • 14
0
votes
2 answers

.net GetDetailsOf shell32.folderitem from string

I am trying to get the resolution of an image or video file using GetDetailsOf in vb.net but I do not understand how to load a file into shell32.folderitem so I am doing it a very roundabout way. OpenFileDialog1.ShowDialog() Dim fi As New…
Stoopkid
  • 1,885
  • 2
  • 17
  • 30
-1
votes
3 answers

Difference between NOTIFYICON_VERSION and NOTIFYICON_VERSION_4 used in NOTIFYICONDATA structure?

When adding a system tray icon from in Windows there are two versions of API that we can pass to Shell_NotifyIcon() via NOTIFYICONDATA structure. There are subtle differences between the two API, and these are not listed anywhere on MSDN. It took me…
Sahil Singh
  • 3,352
  • 39
  • 62
-1
votes
1 answer

How to create directory shortcut using windows shell32.dll in Java?

I need to create a batch file which can perform following actions. Copied directories and sub directories from source folder older than 10 days to destination folders. Delete copied directories from source folder and create short cuts for that in…
1 2 3
4