Questions tagged [windows-api-code-pack]

The Windows API Code Pack for .NET is esentially a managed API to access Shell functions, that are otherwise not available for .NET Developers.

The Windows API Code Pack for .NET can either be downloaded from MSDN or installed via NuGet with Install-Package Windows7APICodePack.

170 questions
0
votes
0 answers

Check internet connection status using proxy

I would like to check the internet connection(not Network) status using proxy. I dont want to ping any urls. For that I used IsConnectedToInternet property of NetworkListManagerClass(Interop.NETWORKLIST.dll), IsConnectedToInternet works fine for…
RJV
  • 55
  • 11
0
votes
1 answer

C# Windows forms Application Reference error in release

I have my windows forms application with WindowsAPICodePack but i don't know where should I put the package in the release folder, and without it the program just gives me an error (it's in Hungarian so I don't think anybody can understand, but it…
baggett
  • 13
  • 3
0
votes
0 answers

How to add Hotkeys to CommonOpenFileDialog

I am using Microsoft's CommonOpenFileDialog to allow users to select a Folder. How i can add Hotkeys commands to click on select folder button in dialog.
0
votes
2 answers

How to get extended metadata properties of a video file on windows server 2012 r2?

I'm using WindowsAPICodePack to collect metadata properties of a video file. Here is the github repo. internally it returns all the objects as you perform right click on file and see details information and properties. See below screenshot. I can…
0
votes
1 answer

Best way to let multiple .NET apps communicate with each other

So, first of all sorry for my bad english. Back to the questio, i have a main app, with a tab control, each tab contain another .NET exe. These need to send infos to the main app. Example: Each exe in a tab have a random generated guid every second…
Tyler
  • 416
  • 4
  • 11
0
votes
1 answer

Checking status of Bitlocker is return null

I created block of code for checking bitlocker is enable or not in machine following to this topic: Detect BitLocker programmatically from c# without admin I is working well almost machine, but from now there is a machine return null…
new user
  • 1
  • 1
0
votes
0 answers

How to catch events from WindowsApiCodePack ExplorerBrowser control in viemodel?

I'm using CaliburnMicro in my WPF application, which uses an ExplorerBrowser control from WindowsAPICodePack (Microsoft-WindowsAPICodePack-Shell and Microsoft-WindowsAPICodePack-Core). The events like SelectionChanged attached to this control are…
Teacan
  • 49
  • 6
0
votes
0 answers

VB.net application "could not load file or assembly" on computers without VS installed

I am using Microsoft Windows API Code Pack DirectX to determine a users graphics card memory. The DLL needs to be run on either an x64 or an x86 platform, not AnyCPU. Testing the application on computers with Visual Studio (VS) installed the…
0
votes
2 answers

getenv("APPDATA") returns incorrect values if current user having username containing unicode characters

Windows gives an api to get environment variable values using getenv(). If current user is having username containing localised characters (i.e. multibyte characters), then getenv returns incorrect value. current user with username: テスト…
user7234
  • 11
  • 3
0
votes
0 answers

I Want to convert Speech to Text with Microsoft.Speech

Currently I attempted Speech to text with System.Speech and Microsoft.Speech what I can do is only with Microsoft.Speech because System.Speech doesn't work if default language is not English. First, I tried to use this code to get text from my…
Arphile
  • 841
  • 6
  • 18
0
votes
0 answers

Why can't I open DLL file? Every time it returns NULL

So, I'm trying to use a function from DLL file and for some reason I can't open the DLL file: when I'm using the LoadLibrary function it returns as NULL I'm freaking out that I can't find this bug typedef unsigned int (WINAPI* AvVersion)(void); void…
user7748475
0
votes
0 answers

How to know packet loss stats of specific TCP socket in Windows? Similar to how Resource Monitor is showing?

I want to know how to find Packet Loss % and Latency stats from TcpConnectionEstatsPath
0
votes
0 answers

Microsoft.WindowsAPICodePack.Dialogs see files when IsFolderPicker = true;

like the title says, is it possible (have been searching can't find any where this info) to see the files when the IsForderPicker = true ? var dlg = new CommonOpenFileDialog(); dlg.Title = "Select the directory"; dlg.IsFolderPicker = true; have…
Camadas
  • 509
  • 1
  • 5
  • 21
0
votes
0 answers

Using WindowsAPICodePack on large amount of Video files consumes all memory

I wrote this class that gets the exif data from video files, the code works fine, but if I loop through large amount of video files I run out of memory. It doesn't seems like it release the reference to the shell file, i've tried to set it to null…
0
votes
0 answers

Excel VBA Windows API: SetForegroundWindow is not working when another application is being maximized by ShowWindow SW_MAXMIZE

I want to maximize IE by SW_MAXMIZE and then alert the user by prompting a msgbox. But since IE is maxmized, I want to bring Excel to the top by calling setforegroundwindow, but this statement is not working. Please help! my code: Public Declare…
ellos98
  • 1
  • 2