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

How to get the list of file in recycle bin by using c# console application

I am working on homework to get the file count of the recycle bin by using shell32.dll. However, I am struggling to display the list of the files in the recycle bin and keep getting a System.InvalidCastException error when I try to use the shell. I…
coderSquirrel
  • 41
  • 1
  • 6
2
votes
1 answer

Read Date Taken of a video

Is it possible to read date taken of a video not the Created Date or Modified Date ... i tried to check the video details but i always see the Date Taken is Empty List arrHeaders = new List(); Shell32.Shell…
Lemo
  • 519
  • 1
  • 7
  • 22
2
votes
1 answer

shell32 copyhere not working neither in .Net nor powershell script

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 have made a script as below: function Usage() { …
coder
  • 163
  • 2
  • 3
  • 12
2
votes
0 answers

Send files to printer without printer dialoge in VB.net using InvokeVerbEx("Print")

I'd like to send several types of files to the printer wihtout the printer dialog; I've found a vbs script which works and translate it to vb.net like so; Private Sub SendToPrinter2(MyPj As PrintJob, bgw As BackgroundWorker) Try Dim…
Dennis
  • 1,528
  • 2
  • 16
  • 31
2
votes
1 answer

Export ordinal without def file

We can export ordinal using def file.But the system dlls doesn't use def files.Still shell32.dll have 569 ordinal exports and user32.dll have 181 ordinal exports. Is there any way to export ordinal without def file?
Junaid Jamil
  • 63
  • 1
  • 1
  • 14
2
votes
0 answers

ShellExecuteEx function works in a different way in Windows 10?

I'm trying to open info property of file. In the previous versions of Windows, properties window was shown and then the control was given to next function in my code, but in Windows 10 function call stucks until I'm closing file properties with…
Semant1ka
  • 647
  • 10
  • 26
2
votes
1 answer

Show More Details Option in Windows Vista Progress Dialog

I use the IProgressDialog interface in order to create a ProgressDialog with Windows-Vista style like this: Dialogs that are shown while copying, pasting and moving files in Windows Explorer usually offer an additional button "More Details" that…
Florian Grummel
  • 332
  • 3
  • 14
2
votes
1 answer

Docking a java application jna on windows

I'm trying to build a Windows dockable application that reserves a section of the screen to prevent other applications from show in that space. I have try using JNI and JNA. The code above shows how far I have got. package jnadock; import…
Neikon
  • 169
  • 1
  • 10
2
votes
1 answer

SW_MAXIMIZED and apps that can't be maximized

I am using ShellExecuteEx to launch applications from my own application. One feature of my application is that is allows apps that it launches to be maximized when they open ... this works fine 99% of the time because I can add the SW_SHOWMAXIMIZED…
2
votes
1 answer

Device browsing problem

I’m writing file browsing software and I want it to work correctly with all portable devices, such as cameras, smart phones and so on. My program shows thumbnails, so I need to read the content of each file. Now I’m facing some problems: With both…
Eugene
  • 3,335
  • 3
  • 36
  • 44
2
votes
4 answers

Using SHFileOperation within a Windows service

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 be certain SHFileOperation won't display GUI ever?
Charles
  • 2,642
  • 3
  • 33
  • 53
2
votes
1 answer

How to obtain pointer to IShellView2 interface

We need to host explorer-like browser window in our application. We cann't use new IExplorerBrowser because of need to keep compatibility with Windows XP. The main problem is we need to show items in "Large Icons" mode by default. Unfortunately,…
irium
  • 691
  • 8
  • 14
2
votes
0 answers

Bring PDF to foreground when Internet Explorer is in Kiosk Mode

I am working on a project which requires a flash project to be displayed in an Internet Explorer kiosk mode window. Additionally, using a socket, Flash communicates to my C# application for various tasks Flash cannot perform itself. One of these…
ian.shaun.thomas
  • 3,468
  • 25
  • 40
1
vote
2 answers

Loading icons from Shell32.dll: Win32 handle is not valid or is the wrong type

I am getting some Icons from the Shell32.dll. Althought some of the icons don't appear to be available, and I can't understand why. I am getting the icon by loading the library by calling: [DllImport("kernel32.dll")] static extern IntPtr…
Lloyd Powell
  • 18,270
  • 17
  • 87
  • 123
1
vote
2 answers

shell32.dll ; ShellExecute() not running in Powerbuilder 11.5

I have trouble in fixing one bug that was assigned to me. It supposed to print a pdf file stated on the parameter. It uses ShellExecute() function to print directly the document. My question is a pdf file considered a document file? the…
icing1018
  • 11
  • 1
  • 2
1 2
3
8 9