.NET Framework

C nativecli interop in c

The following C project contains the C source code and C examples used for c++ native/cli interop. The purpose of this code is to show how to write interop code using native C++ and C++/CLI. It also shows how using a managed *.dll that the same code can be accessed and used from any other CLR language.

use vb.net to get drive info

The following Visual Basic project contains the source code and Visual Basic examples used for use vb.net to get drive info. In this snippet, we get an array of all the drives on the local machine, create a string builder to populate with all the drive info and then output the results.

strtok for vb.net

The following Visual Basic project contains the source code and Visual Basic examples used for strtok for vb.net. This function works like strTok in C/C++, but it is for VB.NET. An example how it works:

set system information and environment variables with vb.net

The following Visual Basic project contains the source code and Visual Basic examples used for set system information and environment variables with vb.net. With this subprocedure, you can set system information or set system environment variables programmatically with VB.NET. Simply add a project reference to System.Management before building or debugging the code.

Pages

Subscribe to RSS - .NET Framework