(VB .net) DirectX integration not working...

LibalaTimmmy

New member
Joined
Feb 5, 2005
Messages
2
Ive been programming in visual basic 6 for years and integrated directx into it for gamming. VB .net being a whole different animal has gotten me stuck in certain respects. Namely the whole darn integration part! Ive downloaded and installed the DX SDK with DX 9.0c and still the functions directly pertaining to directX programming arent available... (manager.***, adapter.***, device creation and declaring dx9 variables). Ive opened up some source code for testing but even with their imports declarations the dxlib still isnt found!

If anyone can help me in this matter Id be supremely thankfull.
 
Do you have vs.net 2002? Try the following:
1) Go to the directory where you extracted the SDK Setup files, and then go to: Developer Runtimes | Managed DirectX | Debug (or retail if you want) | and run the short setup file there

2) Open Regedit(Start | run | "Regedit")
Navigate to

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\7.1\AssemblyFolders\
Right clikc the "AssemblyFolders" Icon and select New | Key
name it DirectXAssemblies

3) go to the DirectXAssemblies folder and double click the key in there which says "(default)"
and type in the path to your DLLs:
C:\WINDOWS\Microsoft.NET\Managed DirectX\v9.02.2904
be sure that this path exists.. my friend had 9.02.2902 for some reason

This made the summer update work for me.

"I thought I remember seeing these instructions elsewhere?"
Eh? I just pasted it from this thread.

Now go back and check whether the References show up or not (they should).
If that doesnt work,
when you go to add your references, go do it manually (Browse...). They should be in:
C:\WINDOWS\Microsoft.NET\Managed DirectX\<Latest Version>

-The Pentium Guy
 
Back
Top