windows-api-code-pack Questions

2

Solved

I recently moved some of my software projects to .NET 5. I use the Microsoft WindowsAPICodePack to work with the Windows Shell, but this library is getting old and does not seem to be maintai...
Mccool asked 13/12, 2020 at 2:25

2

Solved

Trying to use the below mentioned approach to get more details about the locked file. Is file in use function GetFileInUseInfo(const FileName : WideString) : IFileIsInUse; var ROT : IRunningObj...
Involuted asked 11/2, 2013 at 14:55

2

I've been working on a Windows Forms application, and have recently added a simple settings page that allows the user to select a folder for where the output goes. The OpenFileDialog is ugly and no...
Spelldown asked 23/3, 2017 at 11:53

2

Solved

I'd like to know if it's possible to set/edit a file extended properties (Explorer: Right-click > Properties > Details) using the Windows API Code Pack. var shellFile = Microsoft.WindowsAPICodePac...
Hagi asked 4/6, 2014 at 14:30

2

Solved

I tried looking this on SO but all the questions that attempt to answer do not provide a full answer. I actually want to add a property to the details tab of an existing the file. File is of the s...
Kreiner asked 4/6, 2018 at 17:45

2

Solved

The icons in my TaskDialog are missing: And in the taskbar: My code is this: using Microsoft.WindowsAPICodePack; using Microsoft.WindowsAPICodePack.Dialogs; ... TaskDialog taskDialog = new ...
Bioplasm asked 21/3, 2014 at 14:29

6

Why has itself and the evidence it ever existed been removed? Only a half year ago it was promoted on channel9 as Something that should be in everyones pack -- today the Microsoft Archive is...
Auburta asked 6/6, 2014 at 12:17

2

I cannot find the namespace for ShellFile. I have added using System.Windows.Shell and also tried loading the Windows7APICodePack through the package manager console: PM> install-Package Window...
Wherefore asked 9/6, 2014 at 21:53

3

I´m developing a modern WPF application. I want to use the TaskDialog, but I always get the common error: TaskDialog feature needs to load version 6 of comctl32.dll but a different version is c...
Mention asked 15/4, 2013 at 16:23

4

Solved

I'm using the windows function ReadProcessMemory in VBA/VB6 and I don't understand why when I change the passing mechanism of lpBuffer to ByVal the function still modifies the value of the original...
Petasus asked 22/5, 2015 at 18:10

3

Using the code from previous stack overflow questions: System.Drawing.Bitmap image; ShellFile f = ShellFile.FromFilePath(fileLocation); image = f.Thumbnail.ExtraLargeBitmap; image.Save(tempfile, I...
Zara asked 15/8, 2013 at 21:40

4

I have made an application that presents you a list of files in your computer. Whenever you click any item in the list, a small PictureBox next to it should show the thumbnail of the corresponding ...
Squishy asked 29/9, 2012 at 17:30

3

Solved

I am using Microsoft's CommonOpenFileDialog to allow users to select a Folder, but no files are visible when the dialog comes up. Is it possible to show files as well as folders when IsFolderPicker...
Triacid asked 15/11, 2011 at 19:37

1

I’m using WindowsAPICodePack, getting ShellFile’s Thumbnail’s. But some of those which look like the generic icons – have a black background. I therefore make it a Bitmap and set Black as transpare...
Warrenwarrener asked 2/10, 2011 at 12:34

2

Solved

How to print name of file open by some process (PID) in window? Or All Processes (PID) currently open a file. Process Explorer is a utility works for same. But how does it work not mentioned? Any...
Dogtrot asked 4/10, 2012 at 11:25

1

Solved

I am writing an application and wanted to use the TaskDialogIndirect function - however I did not want to write a huge amount of P/Invoke stuff etc. so I have included the WinAPICodePack. There is ...

2

Solved

I want an application which displays the some file properties of a mediafile if available, like (don't know the exact english words used in windows for it) FileName, Length/Duration, FileType(.avi ...

1

Solved

I tried: C:\Windows\System32>ilmerge /target:winexe /out:c:\output.exe c:\MyProgram.exe c:\Microsoft.WindowsAPICodePack.dll But got: 'ilmerge' is not recognized as an internal or external co...
Trisoctahedron asked 14/8, 2011 at 11:18

1

Solved

I don't have an XP machine handy. If I use the Windows API Codepack to do something new to Vista/Win7 (e.g. "TaskDialog") in C#, how does it cope with running on Windows XP machines? If I use the ...
Medicine asked 12/5, 2010 at 23:40
1

© 2022 - 2024 — McMap. All rights reserved.