Results 1 to 10 of 10

Thread: Directx 9.0c in VB

  1. #1

    Thread Starter
    Lively Member malb's Avatar
    Join Date
    Feb 2005
    Location
    England
    Posts
    88

    Directx 9.0c in VB

    Is there an easy way to use all of the functionality of the directx libraries in visual basic, i need information on how to do this urgently.

    More specifically i need to be able to use rotation on objects and use vector opperations

    if anyone could help me id be eternally greatfull

    thanks
    You fear me because I'm different, i pitty you because your all the same.

  2. #2
    PowerPoster
    Join Date
    Feb 2002
    Location
    Canada, Toronto
    Posts
    5,794

    Re: Directx 9.0c in VB

    Directx 9.0c works only in VB.NET

  3. #3

    Thread Starter
    Lively Member malb's Avatar
    Join Date
    Feb 2005
    Location
    England
    Posts
    88

    Re: Directx 9.0c in VB

    oh dear, whats the last version of direct x that works in vb?
    You fear me because I'm different, i pitty you because your all the same.

  4. #4
    PowerPoster
    Join Date
    Feb 2002
    Location
    Canada, Toronto
    Posts
    5,794

    Re: Directx 9.0c in VB

    DirectX 8

  5. #5

    Thread Starter
    Lively Member malb's Avatar
    Join Date
    Feb 2005
    Location
    England
    Posts
    88

    Re: Directx 9.0c in VB

    Can you offer any advice on setting VB to work with directx 8 and rotation of objects using directx.

    I wanna rotate a shape object by an angle or vector
    You fear me because I'm different, i pitty you because your all the same.

  6. #6
    PowerPoster
    Join Date
    Feb 2002
    Location
    Canada, Toronto
    Posts
    5,794

    Re: Directx 9.0c in VB

    Sorry, your gonna have to rely one someone else to help you with that because I don't know any Direct3D... (Only DirectSound)

    I only replied to your post because I saw you wanted to use DirectX 9 with VB6, and I know it does not work because I wanted to do use DirectSound with DirectX 9 in VB6, and I could not get it to work.

  7. #7
    Addicted Member
    Join Date
    Aug 2005
    Location
    York
    Posts
    197

    Re: Directx 9.0c in VB

    http://www.planet-source-code.com/vb...59767&lngWId=1

    So its not impossible - just damned difficult. You will find that this won't work anymore because of Microsoft's DLL hell.
    They've made countless versions of DX9 - this was made with the DX9 Feb 2005 release I think. I managed to get it working - so if you're actually desperate to get it working you can. You basically make an TypeLibrary yourself like DX8 - or try and get the older DX release.

    Im starting to learn OpenGL now, its a lot easier to get working in VB6 than DX9.
    Note: OpenGL doesn't support sound though - so you can either use DirectSound8 (supports most of which DS9 now supports) or OpenAL (which I will probably see if its possible to use in vb6). Here's a link to the stuff you need. http://natas8.com/files.html

    Feel free to browse in natas8.com - which has several interesting projects going on - VBWolf, VBQuake, GLoom (Guess what, we are ID fans haha) , Monster Freestyle Racing all done with OpenGL & VB6 with some asm optimisations.

    Cheers.
    Ralph

  8. #8
    Fanatic Member damasterjo's Avatar
    Join Date
    Nov 2005
    Location
    In front of my Comp DirectX7 EXpert
    Posts
    827

    Re: Directx 9.0c in VB

    Software languages known:
    Qbasic - TI-Basic - Liberty Basic - Visual Basic 6
    Software API's known:
    Directx 7 and 8
    Internet languages, in the process of learning:
    HTML - JAVASCRIPT - PHP - CSS - MYSQL - AJAX

  9. #9
    Android OpenGL ES Guru Jacob Roman's Avatar
    Join Date
    Aug 2004
    Location
    Miami Beach, FL
    Posts
    5,278

    Re: Directx 9.0c in VB

    How bout my massive DX 2D tutorial in my signature.

    I got rotation in there.

  10. #10
    PowerPoster Keithuk's Avatar
    Join Date
    Jan 2004
    Location
    Staffordshire, England
    Posts
    2,235

    Re: Directx 9.0c in VB

    Quote Originally Posted by CVMichael
    Directx 9.0c works only in VB.NET
    I think you'll find that Dx8vb.dll is the same filename in DirectX 8.0, 8.1 or 9.0c. I run 9.0c and it still works.
    Keith

    I've been programming with VB for 20 years. Started with VB4 16bit Pro, VB5 Pro, VB6 Pro/Enterprise and now VB3 Pro. But I'm no expert, I'm still learning.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width