ActiveXperts Knowledge Base Article 6650210
Our mission at ActiveXperts Software is to deliver high quality Network Monitoring solutions and Windows Development components.
Our goal is to supplement these solutions with timely support resources that can help at many different levels.
The first thing you want to do is try to find the answer to your problem in the Knowledge Base.
If you cannot find an answer to your question in our Knowledge Base, or if you need additional information or assistance, please use our Contact Support form.
Q6650210 - Can I use the Configration API in VB.NET?
If your Visual Studio version still supports VB.NET, it is possible. VB.NET has become less prominet in recent versions of Visual Studio.
To write a VB.NET based console application, please use the following steps:
- Launch Microsoft Visual Studio;
- Create a new 'VB.NET Console Project'
- In the Project context menu, choose 'Add->COM Reference...' and 'ActiveXperts Network Monitor Configuration API'
- In your program source code, include the 'ActiveXperts Network Monitor Configuration API' namespace like this:
Imports AXNMCFGLib - Declare and create a new Network Monitor Config API object like this:
Dim objNMConfig As NMConfig = New NMConfig()
Finally, start writing your program like this:
Imports AXNMCFGLib
Dim objNMConfig As NMConfig = New NMConfig()
Console.WriteLine("ActiveXperts Network Monitor API: {0}" & vbCrLf & "Build: {1}" & vbCrLf & "Module: {2}",
objNMConfig.Version, objNMConfig.Module, objNMConfig.Build)
Add your functionality using the Configuration API Manual and the Powershelll/VBScript samples included with the software.
Default Folder: C:\ProgramData\ActiveXperts\Network Monitor\Configuration API\
If you cannot find an answer to your question(s) in our Knowledge Base, or if you need additional information or assistance, please contact our Customer Support using our Contact Support Form
