”@

Home 

c# Programming Glossary: shell32.dll

How can I tell that a directory is the recycle bin in C#?

http://stackoverflow.com/questions/1585295/how-can-i-tell-that-a-directory-is-the-recycle-bin-in-c

declarations in your class get a known path DllImport shell32.dll static extern long SHGetKnownFolderPath MarshalAs UnmanagedType.LPStruct..

How do I display a file's Properties dialog from C#?

http://stackoverflow.com/questions/1936682/how-do-i-display-a-files-properties-dialog-from-c

Solution is using System.Runtime.InteropServices DllImport shell32.dll CharSet CharSet.Auto static extern bool ShellExecuteEx ref SHELLEXECUTEINFO..

.NET read binary contents of .lnk file

http://stackoverflow.com/questions/2565885/net-read-binary-contents-of-lnk-file

Reference Browse tab and navigate to c windows system32 shell32.dll. That generates an interop library. Write code like this public..

Unable to launch onscreen keyboard (osk.exe) from a 32-bit process on Win7 x64

http://stackoverflow.com/questions/2929255/unable-to-launch-onscreen-keyboard-osk-exe-from-a-32-bit-process-on-win7-x64

API function to start the process. This function lives in shell32.dll a DLL that might have to be loaded if that wasn't previously..

Split string containing command-line parameters into string[] in C#

http://stackoverflow.com/questions/298830/split-string-containing-command-line-parameters-into-string-in-c-sharp

is a slightly simpler version of the same code DllImport shell32.dll SetLastError true static extern IntPtr CommandLineToArgvW MarshalAs..

Send a File to the Recycle Bin

http://stackoverflow.com/questions/3282418/send-a-file-to-the-recycle-bin

hNameMappings public string lpszProgressTitle DllImport shell32.dll CharSet CharSet.Auto private static extern int SHFileOperation..

What's the proper way to minimize to tray a C# WinForms app?

http://stackoverflow.com/questions/46918/whats-the-proper-way-to-minimize-to-tray-a-c-sharp-winforms-app

to the tray in native winforms however you can P Invoke shell32.dll to do it Some good info here In the comments not the post http..

How to SET extended file properties?

http://stackoverflow.com/questions/5337683/how-to-set-extended-file-properties

Author Title etc I already know how to GET them by using shell32.dll class and I asumed that I could also SET them with the same.. extended properties is a little bit more difficult and shell32.dll doesn't allow to do that. I was unable to find a clear solution..

How to bring up the built-in File Copy dialog?

http://stackoverflow.com/questions/6687443/how-to-bring-up-the-built-in-file-copy-dialog

you can take advantage of SHFileOperation exposed from shell32.dll which is already wrapped by the Visual BasicĀ® runtime. If you're..

Get current selection in WindowsExplorer from a C# application?

http://stackoverflow.com/questions/8292953/get-current-selection-in-windowsexplorer-from-a-c-sharp-application

point I attempted to do some translation by adding shell32.dll as a reference in my project. I ended up with the following..

Is an Application Associated With a Given Extension?

http://stackoverflow.com/questions/9540051/is-an-application-associated-with-a-given-extension

respective executable. Thee DllImport for it is DllImport shell32.dll static extern int FindExecutable string lpFile string lpDirectory..