ParallelGraphics Forums
SDK
You are here: [Forums]::[General]::[SDK]

Registration 
Registration
Forgot your password?

Help 
Help
Support

Quick search 

Subscribe to newsletters 

Install Cortona VRML Client for FREE!
Outline 3D
Try RobinZone!
email:  password:
   General - SDK

Subject: Re: IVRMLEventCallback - on VB.net
Sender: nalex@parallelgraphics.com 29.06.07 07:10
Hello,
I am having problems with the IVRMLEventCallback object with the Vb.Net platform.

This code:

1 listsr = New cls_Listener
2 Engine.Nodes.Item("my_touch_sensor").Fields.Item("touchTime").Advise(listsr)

Where cls_listener implements the IVRMLEventCallback interface, returns a "Specified cast is not valid" error at line 2.

Is there a workaround solution to this problem, or is IVRMLEventCallback object not supported anymore on the VB.net platform?

Thanks

Dan


Have you tried to delete the VRMLAutomation interop and recreate it? (The Interop.VRMLAutomation.dll file that may be found in the 'obj' subfolders and in the 'bin' subfolders.)
You could also try to remove the reference to the VRML Automation, then add it to project again.

 


IVRMLEventCallback - on VB.net / dan.vera@gmail.com / 25.06.07 02:20
     Re: IVRMLEventCallback - on VB.net / nalex@parallelgraphics.com / 29.06.07 07:10

Messages in thread: 2


© 1998-2007 ParallelGraphics. All rights reserved. Terms of use.