# Using the intrepidcs API in Visual Basic - neoVI API

To use the neoVI API in Visual Basic add the Download the file [`bas_neoVI.vb`](https://cdn.intrepidcs.net/guides/neoVIDLL/_downloads/eff7ce57dd442e09675a9d786b865bb4/bas_neoVI.zip) module into the VB project (figure 1) by right clicking on the Solution and selecting Add Existing Item from the Add menu. Open the bas\_neoVI.vb. Then, call the methods as defined in the [WIN32 API Functions and Types](https://docs.intrepidcs.com/neovi-api/win32-api-overview-intrepidcs-api) Section of this document.

![Figure 1 - Add Module Command From the VB.NET Menu.](https://240838104-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FabyA6gDDBQ0CNbxlveQb%2Fuploads%2Fgit-blob-51dad1dc00a8349fb1cb5ee04620f3bbdbc63e61%2FVBNetAddModule.gif?alt=media)

### Example

A Visual Basic Dot Net 2010 example (Figure 1) is included to show how the API all works together. The main project files are as follows: 1) the project file: IcsNeoDotNet.sln 2) the form file : Form1.vb, and 3) the neoVI module : bas\_neoVI.vb. All project files are included in the following file [`VBnet2010.zip`](https://cdn.intrepidcs.net/guides/neoVIDLL/_downloads/1fd51321822c15711eaf4ee6b2a0024e/VBnet2010.zip). This project will open in Visual Studio 2010, 2012, 2013, 2015, and 2017.

The example shows how to open and close communication to the driver, send messages and read messages on the networks.

![Figure 2 - The Visual Basic Dot Net 2010 Example.](https://240838104-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FabyA6gDDBQ0CNbxlveQb%2Fuploads%2Fgit-blob-2eca8b3e762c4a99656d3f5f71006581c24b2f67%2FDNETExample.gif?alt=media)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.intrepidcs.com/neovi-api/basic-operation-intrepidcs-api/using-the-intrepidcs-api-in-visual-basic-intrepidcs-api.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
