OpenGL & Visual Basic Tutorial

Written by jaime avelar
  • Share
  • Tweet
  • Share
  • Email

Microsoft Visual Basic (VB) is a computer programming language used to create web, mobile and desktop applications. OpenGL is an application programming interface (API) used to create low-level graphics through computer programming.

OpenGL and VB

To use OpenGL you need to download the "CsGL" library. This library is a set of wrappers for the OpenGL dynamic link library (DLL) that can be used in your VB application.

Add Reference

You must add a reference in your VB project to the "CsGL.dll." In Windows, the DLL can be found in the "C:\WINNT\System\System32" folder. You can then use the functions available in the DLL by importing the namespace into your code module.

Initialise and Close

Before you can use the functions in the "CsGL.dll" you need to initialise the object by calling the "my View()" method. You start the object by calling the "Start()" method. To terminate the object you can use the "Dispose()" and "Abort()" methods.

Don't Miss

  • All types
  • Articles
  • Slideshows
  • Videos
  • Most relevant
  • Most popular
  • Most recent

No articles available

No slideshows available

No videos available

By using the site, you consent to the use of cookies. For more information, please see our Cookie policy.