Results 1 to 3 of 3

Thread: vb and opengl help!!

  1. #1
    Senior Member Regular Contributor
    Join Date
    Oct 2003
    Location
    Arlington, Tx, USA
    Posts
    178

    vb and opengl help!!

    im workin on vb 6 and opengl, n no matter what i do i just cant use the opengl functions in vb. i tried referencin the opengl type library, i tried declaring the functions as
    Private Declare Sub glPushMatrix Lib "OPENGL32.DLL" ()
    but nothin works. in case of vb.net though, the second approach definetly works. plz let me know if therz ne other way to do it, or if im goin wrong somewher.

  2. #2
    Member Contributor
    Join Date
    Jul 2003
    Location
    Rhode Island
    Posts
    55

    Re: vb and opengl help!!

    Its rather easy to do, just give a visit to this site and it tells you exactly how do do it, and the library file you need to do it.

    Hope i could help.
    Zix

    P.S. You will need the file "vbogl.tlb" to use OpenGL in VB.

    [This message has been edited by zix99 (edited 10-15-2003).]

  3. #3
    Senior Member Regular Contributor
    Join Date
    Sep 2001
    Location
    Eastern USA
    Posts
    218

    Re: vb and opengl help!!

    I got bored one day and decided to try to get OpenGL to work in VB for no particular reason. I did get it to work (just a simple rotating array of cubes, nothing fancy) but I did notice a weird thing with it.
    http://www.opengl.org/discussion_boa...ML/012910.html

    Maybe you have the same issue. Maybe I'm just a freak as usual.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Proudly hosted by Digital Ocean