Example Code

LIB that uses DLL to easily manipulate Windows, Taskbar, Screens, etc

Products and Environment

This section reflects the products and operating system used to create the example.

To download NI software, including the products shown below, visit ni.com/downloads.

    Software

  • LabVIEW

    Operating System

  • Windows

    Programming Language

  • C Sharp
  • LabVIEW G

Code and Documents

Third-Party Code Repository

Some users manage their code in repositories outside of ni.com. Use your best judgment when following links to third-party sites. https://github.com/etfovac/WinAPI-LV

Description

LabVIEW LIB & examples that use custom WinAPI.dll. 

 

WinAPI.dll (GitHub)  consists of Windows API functions (user32 and shell32) for Window, Taskbar, Screens, etc, conveniently organized and wrapped in a C# DLL (InteropAssembly).

 

The file WinAPI.dll is in folder DLL and it can be moved elsewhere, but you'll have to browse to it in the .NET constructor node.
More elaborate example VIs are in folder Examples.

 

WinAPI-LV snippets and more info (GitHub).

 

 

 

 

 

 

How to Use

 

 

 

 

 

 

Related Links

WinAPI.dll source code (GitHub)

 

 

 

Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.

Contributors