New DirectX Refrence problem...
New DirectX Refrence problem...
New DirectX Refrence problem...
New DirectX Refrence problem...
New DirectX Refrence problem...
New DirectX Refrence problem... New DirectX Refrence problem... New DirectX Refrence problem... New DirectX Refrence problem... New DirectX Refrence problem... New DirectX Refrence problem... New DirectX Refrence problem... New DirectX Refrence problem...
New DirectX Refrence problem... New DirectX Refrence problem...
New DirectX Refrence problem...
Go Back  Xtreme Visual Basic Talk > > > > New DirectX Refrence problem...


Reply
 
Thread Tools Display Modes
  #1  
Old 06-15-2004, 02:47 PM
Cirdan Cirdan is offline
Freshman
 
Join Date: May 2004
Posts: 34
Default New DirectX Refrence problem...


Okay, befor I start, I did read the recent dx refrence post, but my error is different...


I'm following this tutoria to refrence dx7
http://216.5.163.53/DirectX4VB/Tutor...7/DX_Start.asp

I do it just fine, The dll is found, just when I hit okay, it still can reconize this code...

Code:
Dim dx As New DirectX7
It says DirectX7 is not defind. I go back to the refrence screen, but it just resets. any Ideas?
Reply With Quote
  #2  
Old 06-15-2004, 04:58 PM
Iceplug's Avatar
IceplugNew DirectX Refrence problem... Iceplug is offline
MetaCenturion

Retired Moderator
* Guru *
 
Join Date: Aug 2001
Location: Iowa, USA
Posts: 16,583
Default

Are you using DirectX7 within VB.NET?
Do you see DxVBLib in the References subheader in the Solution Explorer?
__________________

Iceplug, USN
Quadrill 1 Quadrill 2 (full) Quadrill 3 JumpCross .NET Website is ALIVE! - DL Platform Tour for VB.NET! Posting Guidelines Hint: Specify your location in your user cp profile if you want compassion!
Reply With Quote
  #3  
Old 06-15-2004, 06:38 PM
Cirdan Cirdan is offline
Freshman
 
Join Date: May 2004
Posts: 34
Default

1) Yes, I"m using VB.net 2003 Standard

2) Yes, but it still doesn't reconize it

I see dxVBLib and dxVBLiba
Reply With Quote
  #4  
Old 06-15-2004, 06:48 PM
Iceplug's Avatar
IceplugNew DirectX Refrence problem... Iceplug is offline
MetaCenturion

Retired Moderator
* Guru *
 
Join Date: Aug 2001
Location: Iowa, USA
Posts: 16,583
Default

Did you import it into your file?
Otherwise, you'd probably have to write:
Dim DX As DXVBLib.DirectX7
Then...
DX = New DXVBLib.DirectX7
.
__________________

Iceplug, USN
Quadrill 1 Quadrill 2 (full) Quadrill 3 JumpCross .NET Website is ALIVE! - DL Platform Tour for VB.NET! Posting Guidelines Hint: Specify your location in your user cp profile if you want compassion!
Reply With Quote
  #5  
Old 06-15-2004, 07:26 PM
Cirdan Cirdan is offline
Freshman
 
Join Date: May 2004
Posts: 34
Default

I just got vb yseterday, so "Im not sure how to import stuff, if you could tell me how, or point me to a tutorial, that would be good, thnx
Reply With Quote
  #6  
Old 06-15-2004, 07:35 PM
Iceplug's Avatar
IceplugNew DirectX Refrence problem... Iceplug is offline
MetaCenturion

Retired Moderator
* Guru *
 
Join Date: Aug 2001
Location: Iowa, USA
Posts: 16,583
Default

Importing just allows you to access DirectX7 directly like that:
You can use:
Code:
Imports DxVBLib 'then Public Class etc.... ... ... Dim DX As DirectX7
or
Code:
Public Class etc.... ... Dim DX As DxVBLib.DirectX7

It simply allows you to access members in the DxVBLib library without having to specify DxVBLib.
__________________

Iceplug, USN
Quadrill 1 Quadrill 2 (full) Quadrill 3 JumpCross .NET Website is ALIVE! - DL Platform Tour for VB.NET! Posting Guidelines Hint: Specify your location in your user cp profile if you want compassion!
Reply With Quote
  #7  
Old 06-15-2004, 07:54 PM
Cirdan Cirdan is offline
Freshman
 
Join Date: May 2004
Posts: 34
Default

thanks! It worked!
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

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
New DirectX Refrence problem...
New DirectX Refrence problem...
New DirectX Refrence problem... New DirectX Refrence problem...
New DirectX Refrence problem...
New DirectX Refrence problem...
New DirectX Refrence problem... New DirectX Refrence problem... New DirectX Refrence problem... New DirectX Refrence problem... New DirectX Refrence problem... New DirectX Refrence problem... New DirectX Refrence problem...
New DirectX Refrence problem...
New DirectX Refrence problem...
 
New DirectX Refrence problem...
New DirectX Refrence problem...
 
-->