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: CreateVrmlFromString
Sender: yaari_r@yahoo.com 3.01.08 08:04

Hi.
im using c# and im trying to open vrml file.
im using the command CreateVrmlFromString after im open the wrl file and read and move it to a string.
when i reach the command CreateVrmlFromString im getting an exception.
this is my code? am i missing here something:
VRMLAutomation.VRMLEngineClass engine = new VRMLEngineClass();
string vrmlString = string.Empty;
try
{
System.IO.TextReader vrmlFile = new System.IO.StreamReader(@"G:\temp\9_to_49_morph\FaceMorph_9_to_49_2.wrl");
vrmlString = vrmlFile.ReadToEnd();
}

catch
{
System.Console.WriteLine("file not found");
}

IMFNodeObject temp = engine.CreateVrmlFromString(vrmlString);

thanks

 


CreateVrmlFromString / yaari_r@yahoo.com / 3.01.08 08:04

Messages in thread: 1


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