air_clarence
02-20-2005, 10:03 AM
Can DirectX 9 use with Visual Basic.NET?
Because I read the article in MSDN that DirectX 9 has 2 versions and it mentions that only Visual C++.NET are compatible with DirectX 9.
And the DirectX 9 managed said it can support with Visual Basic.NET. What's going on? I'm really confused with that, can anyone tell me please?
Iceplug
02-20-2005, 05:07 PM
Yes, DirectX9 is compatible with Visual Basic .NET :).
air_clarence
02-20-2005, 06:53 PM
But which version shall I choose to use?
The original one or the "Managed" one? What's the difference between them?
DeathyDude
03-09-2005, 05:28 PM
Ok... By "original" VB do you mean not .Net VB? I'm going to assume that's what you meant.
Basically "Managed" means that you can easily integrate code between VB, C#, and some other languages. But whether or not you want to integrate code between languages, it (.Net) is the latest version of VB. You can actually get the beta of 2005 .Net for free off of Microsoft's site, so I'd recommend using that.
I'm not sure why the website said DX9 can only be used with C++, that's not true at all.
I believe he was talking about which version of Directx to choose (original or managed). I know next to nothing about directx though, so I can't answer that.
JNewt
03-09-2005, 09:48 PM
Yeah, you'll need to get the DirectX9 Managed SDK. Once it's installed, add a reference to the DirectX library to your project.
air_clarence
03-11-2005, 11:08 PM
Where can I download the Managed DirectX 9.0c SDK?
Iceplug
03-13-2005, 07:35 AM
Here's a direct link.
http://msdn.microsoft.com/downloads/list/directx.asp?frame=true
NGN_VBdotNET
03-15-2005, 02:19 PM
Hi,
Not sure if My knowledge put any light on this problem. But, here we go:
DirectX9.0c SDK claim, for proper installation .NET Framework 1.1 and .NET Framework 1.1 claim VS.NET 2003 (or in the case here VB.NET 2003), for proper installation.
If You install all DirectX9 related software. You will notice that You whit VB.NET 2003 not can run (some of) the sample code for VB.NET in the DirectX9 SDK. The reason for that is that the code (VB.NET) was written for VB.NET 2002 and .NET Framework 1.0 (DirectX9.0).
The DirectX enginers hawe done some, for me, strange class-rewriting. In the DirectX9-"family"-(assemblies) they change, (or just erased it), some methods, properties and events. From one upgrade to another whit no backward compatibility. And a big lack of explanations in the documentation.
They even have to priority their time so they decided to just give us (VB.NET-programmer) the C#-code sample. (????)
If You want to run the VB.NET samples You have to rewrite the code . One big problem here is that the MSDN DX9 SDK documentation is lack. Or, in other word, really bad and in some case buggy.
: Or run it from VB.NET 2002 and .NET Framework 1.0
This is no solution, it is a explanation.
Good Luck!
/NGN Sweden
[Sorry if You read some bad gramma, I'm a suedé]