Visual Basic .net and DirectX

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Rich

    #1

    Visual Basic .net and DirectX

    I have downloaded the DirectX SDK from the Microsoft Website and am
    interested in programing DirectX with VB.net. When I try to run any
    sample programs, a JIT(just in time) Debug Window appears. When i view
    the source code, it cannot find the DirectX Class under
    "Microsoft.Dire ctX". I am programing on Windows XP Home, with VB.net
    2003. Can someone please point me to a way to fix this, if i need to
    install some other program or upgrade to XP/2000 Pro?

  • Steven Nagy

    #2
    Re: Visual Basic .net and DirectX

    XP Home should be ok.
    Have you installed the Managed DirectX SDK?
    The latest one got released in January I believe.
    I am not sure if its possible to download an unmanaged version only,
    but this may have happened.
    Check out the DX site on MS.
    Try out their examples that come with the SDK, do they work or fail as
    well?

    Oh and don't forget to add references to all the dlls. There's at least
    2 that you'll need for Direct3D.
    If you have the managed SDK installed properly then they will be in
    your normal .NET list of references to add.

    Comment

    • Armin Zingler

      #3
      Re: Visual Basic .net and DirectX

      "Rich" <RMSUPERSTAR99@ gmail.com> schrieb[color=blue]
      > I have downloaded the DirectX SDK from the Microsoft Website and am
      > interested in programing DirectX with VB.net. When I try to run any
      > sample programs, a JIT(just in time) Debug Window appears. When i
      > view the source code, it cannot find the DirectX Class under
      > "Microsoft.Dire ctX". I am programing on Windows XP Home, with VB.net
      > 2003. Can someone please point me to a way to fix this, if i need to
      > install some other program or upgrade to XP/2000 Pro?[/color]

      AFAIR this has been mentioned (and solved) in the MDX group:

      microsoft.publi c.win32.program mer.directx.man aged


      Armni

      Comment

      • Rich

        #4
        Re: Visual Basic .net and DirectX

        What are the paths to the DLLs that are needed?

        Comment

        • Steven Nagy

          #5
          Re: Visual Basic .net and DirectX

          No paths needed.
          Just click on Add Reference, click on the .NET tab, scroll down to all
          the DirectX dlls.
          Add references for the ones you want.
          If they aren't there, then you must have the wrong SDK, or its not
          installed properly.

          Did you try the MS examples as suggested?

          Comment

          Working...