Search Home Members Contacts
About Us
Products
Downloads
Community
Support
Pages: [1]
  Print  
Author Topic: movement problem  (Read 1795 times)
skywalker_
Community Member
*
Posts: 1


« on: August 21, 2004, 07:38:29 AM »

Private Inp As TVInputEngine
debuger sets me here > If Inp.IsKeyPressed(TV_KEY_UP) Then
                                                form1.show
                                        End If

object variable or with block not set

why ??
Logged
AriusMyst
Guest
« Reply #1 on: August 21, 2004, 07:41:58 AM »

Quote from: "skywalker_"
Private Inp As TVInputEngine
debuger sets me here > If Inp.IsKeyPressed(TV_KEY_UP) Then
                                                form1.show
                                        End If

object variable or with block not set

why ??


make sure you are creating the input engine, with "set"( i think, im not a vb dev ). an for future reference, this should go in the general discussion of tvengine. Its a common mistake  Cheesy
Logged
SylvainTV
Administrator
Community Member
*****
Posts: 4946


WWW
« Reply #2 on: August 21, 2004, 07:42:24 AM »

The object isn't initialized correctly you must use the "New" keyword

Private Inp As TVInputEngine

becomes

Private Inp As New TVInputEngine
Logged

Regards

Sylvain Dupont
TrueVision3D Developer
sylvain@truevision3d.com

TV3D IRC at http://chat.truevision3d.com or on server irc.truevision3d.com #Truevision3D. Come talk with us !
Pages: [1]
  Print  
 
Jump to:  

Powered by SMF 1.1.3 | SMF © 2006-2007, Simple Machines LLC
Seo4Smf v0.2 © Webmaster's Talks