Go Back  Xtreme Visual Basic Talk > Visual Basic .NET (2002/2003/2005/2008, including Express editions) > .NET Game Programming > Managed DirectX > Accessing DirectX9 Direct3D VB.Net Samples


Reply
 
Thread Tools Display Modes
  #1  
Old 01-13-2004, 02:35 PM
chaos syndrome chaos syndrome is offline
Newcomer
 
Join Date: Jan 2004
Posts: 8
Default Accessing DirectX9 Direct3D VB.Net Samples


I downloaded the DirectX 9.0b SDK and the Managed Code update but when I open the projects in the Samples\VB.Net\Direct3D folder, if I open the main files I get error messages:

Example: the Fractal program

d3dapp.vb

Quote:
The class GraphicsSample can be designed, but is not the first class in the file. Visual Studio requires that designers use the first class in the file. Move the class code so that it is the first class in the file and try loading the designer again.
This also happens in d3dsettingform.vb, except that the offending class is D3DSettingsForm.

From the BumpUnderwater example, I also get this error message when I try to open BumpUnderwater.vb:

Quote:
The designer could not be shown for this file because none of the classes in it can be designed. The designer inspected the following classes in the file:

MyGraphicsSample - The base class 'BumpUnderwater.GraphicsSample' could not be loaded. Ensure the assembly has been referenced or built if it is part of the project.
This happens in several other projects, and is quite annoying, to put it lightly.

The version of Visual Studio installed with VB.Net is Visual Studio 2003

All help would be much appreciated,

Thanks,

Chaos Syndrome.
Reply With Quote
  #2  
Old 01-14-2004, 10:15 AM
chaos syndrome chaos syndrome is offline
Newcomer
 
Join Date: Jan 2004
Posts: 8
Default

Ah, got it... - downloaded the updated SDK, then clicked "Build Solution..."
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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

BB 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
Open VB.NET 2002 project within VB.NET 2003 geo1st487 .NET General 2 01-10-2004 05:13 PM
VB.Net Office Integration FAQ Mike Rosenblum .NET Office Automation 2 12-19-2003 01:17 PM
Accessing LDAP from vb.net balajigr1214 Communications 1 12-06-2002 09:34 AM
What's the future hold for VB? Ashington Sid Tech Discussions 18 06-04-2002 01:20 PM
A VB6 to VB.NET conversion sample Helmar General 0 11-14-2001 06:27 PM

Advertisement:





Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
subscribe
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
subscribe
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..
subscribe
 
 
-->