iNET Interactive - Online Advertising Agency
          
Go Back  Xtreme .NET Talk > .NET > Graphics and Multimedia > DirectX > Help getting VB.NET to recognize DX9 SDK


Reply
 
Thread Tools Display Modes
  #1  
Old 04-13-2003, 05:59 AM
nem33 nem33 is offline
Newcomer

Preferred language:
VB.NET
 
Join Date: Mar 2003
Posts: 23
Unhappy Help getting VB.NET to recognize DX9 SDK

I've downloaded the SDK for DX9 from microsoft.com, installed it..
Obviously I have the .NET Framework installed first since I have VB.NET on my machine.
After installing the DX9 SDK I cannot find the reference to it in VB.NET. Under 'Add Reference' I should see something like...'Directx9.Net' or something like that under the '.NET' Tab right? I can't find anything like that... I downloaded some example source code and it comes up with the same error..it cannot reference to the Directx9 libraries.. I don't know what I'm doing wrong..I want to learn DX and such a problem early on is frustrating..any help is appreciated..Thank you.
Reply With Quote
  #2  
Old 04-13-2003, 06:41 AM
divil's Avatar
divil divil is offline
Ultimate Contributor
 
Join Date: Nov 2002
Location: England
Posts: 2,747
Default

Did you download the VB.NET only SDK? I did that first off, and had the same problem. I ended up having to download the full version before it would work.
__________________
MVP, Visual Developer - .NET

Now you see why evil will always triumph - because good is dumb.

My free .NET Windows Forms Controls and Articles
Reply With Quote
  #3  
Old 04-13-2003, 06:50 AM
nem33 nem33 is offline
Newcomer

Preferred language:
VB.NET
 
Join Date: Mar 2003
Posts: 23
Default

I downloaded the SDK from this page....
http://msdn.microsoft.com/library/de...st/directx.asp
And on that page I downloaded the 'DirectX 9 SDK' which says it includes support for all three languages....Still haven't got it to work - Ive been searching all night and morening! Help!
Reply With Quote
  #4  
Old 04-13-2003, 07:01 AM
mutant
 
Posts: n/a
Default

Have you tried reinstalling the SDK? It corrected some of my errors.
Reply With Quote
  #5  
Old 04-13-2003, 07:13 AM
nem33 nem33 is offline
Newcomer

Preferred language:
VB.NET
 
Join Date: Mar 2003
Posts: 23
Default

Yes I have - twice! I even redownloaded the whole thing....
Where should these files be located on my computer? Do they automatically appear in the .NET listing for referenced components or do I need to manually 'browse' for them? I'm sorry these questions are so newbish but I have tried everything. I'm trying to figure out what is going on...
Oddly enough I now have a 'DirectX9 Visual Basic Wizard' option when I create a new project..However trying to use it gives me the same problem..No referenced DX9....
*sigh*
Reply With Quote
  #6  
Old 04-13-2003, 07:45 AM
AndreRyan AndreRyan is offline
Junior Contributor

Preferred language:
VB.Net
 
Join Date: Jan 2002
Posts: 366
Default

Are you looking for Microsoft.DirectX.dll or DirectX9.DirectDraw.dll
The file name in bold is the correct one, if it still isn't there look for mdxredist.msi in the DXSDK\Redist\DirectX9 directory and run it to install the Managed Runtimes
__________________
.Net allows software to be written for any version of Windows and not break like Unmanaged applications unless using Unmanaged procedures like APIs. If your program uses large amounts of memory but releases it when something else needs it, then what's the problem?
Reply With Quote
  #7  
Old 04-13-2003, 08:39 AM
nem33 nem33 is offline
Newcomer

Preferred language:
VB.NET
 
Join Date: Mar 2003
Posts: 23
Default

Okay I tired that and a screen came up ..said something like DX managed Runtime......preparing to install....status bar moves up then......Then dissappeared....The process just sits in the background...nothing seems to happen after that...
Reply With Quote
  #8  
Old 04-13-2003, 05:09 PM
nem33 nem33 is offline
Newcomer

Preferred language:
VB.NET
 
Join Date: Mar 2003
Posts: 23
Default

Well a friend is having the exact same problem now...Maybe this is a question for Microsoft...Thank you for the help.
Reply With Quote
  #9  
Old 04-13-2003, 05:24 PM
nem33 nem33 is offline
Newcomer

Preferred language:
VB.NET
 
Join Date: Mar 2003
Posts: 23
Default

I've found that in my C:\Windows\Microsoft.NET\ManagedDirectX\v4.09.00.0900\
There is a bunch of .xml files named..
'Microsoft.DirectX.XML'
'Microsoft.Direct3d.XML'
'Microsoft.DirectDraw.XML'.....etc...

I also did a search for 'Microsoft.DirectX.NET' On my computer and the file does not exist...Shouldn't it be in the same folder as those .XML files? Seems to me like the installer.msi didn't work quite right...Anyone have feedback on this?
Reply With Quote
  #10  
Old 04-13-2003, 07:43 PM
nem33 nem33 is offline
Newcomer

Preferred language:
VB.NET
 
Join Date: Mar 2003
Posts: 23
Default

Okay I dont know if anyone's still reading this but I found this information out...
Quote:
you installed the DX9.0a end-user runtime.

you need the DX9.0a developer runtime, and until its out you will have a
problem.

you can either:
wait
use one of the unsupported ways to revert DX versions
reinstall the OS.
Lesson of the day..Don't install new DirectX without checking to see if the SDK has been updated to compliment it.

Last edited by nem33 : 04-13-2003 at 07:49 PM.
Reply With Quote
  #11  
Old 04-27-2003, 09:25 AM
mikcey mikcey is offline
Newcomer
 
Join Date: Apr 2003
Posts: 1
Default

there is an easy solution, extract C:\DXSDK\SDKDev\Retail\dxnt.cab with winzip

and copy the microsoft.directx.*.dll 's to

C:\WINDOWS\Microsoft.NET\Managed DirectX\v4.09.00.0900

add the .dll references u need in your C# project manualy

works fine even with directx9.0a installed

happy coding!
Reply With Quote
  #12  
Old 05-08-2003, 12:42 PM
EggsNasty EggsNasty is offline
Newcomer
 
Join Date: May 2003
Posts: 1
Default

Thanks Mikcey, that worked for me. A note, the Microsoft.DirectX.*.dll runtimes appear in both dxnt.cab and DirectX.cab, and they appear to be equivalent.

And why the hell doesn't MS advertise the fact that you're screwed if you install DirectX 9.0a (which can't be uninstalled) with the 9.0 SDK before 9.0 for developers is released? Without doing this manual copy, it appears that installing the DX9.0 SDK (software DEVELOPMENT kit) prevents you from DEVELOPING using DX 9.0.

This this not seem idiotic to anyone else out there?
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Trying to find the .NET CF SDK wyrd General 2 01-14-2005 05:30 AM
Some VS.Net related System proccesses I don't recognize? Any help? Denaes Random Thoughts 5 02-23-2004 08:41 AM
Online resources for vb.net DX9 SDK CattleRustler DirectX 8 11-12-2003 12:14 PM
DX9 SDK tutorials/sample won't Open in VS.NET CattleRustler DirectX 4 11-08-2003 05:31 PM
How to Compile using .net SDK? silverstormboy General 7 01-24-2003 09:40 AM

Advertisement: