Using ocx control in C# projetc

Reallusion Forum
Reallusion Home      Members   Calendar   Who's On
Welcome Guest ( Login | Register )
      



Using ocx control in C# projetcExpand / Collapse
Author
Message
Posted 1/5/2008 4:37:07 PM
Newbie

NewbieNewbieNewbieNewbieNewbieNewbieNewbieNewbie

Group: Forum Members
Last Login: 1/10/2008 7:16:16 AM
Posts: 2, Visits: 13
(Originally posted in wrong forum in error)

I am trying to use the CT ocx control in a Visual Studio C# project. The control on the form ok, and I can assign a model and set life mode, but it will not play a script no matter what I try. I know the script file is ok because I can use it in CT Studio.

I have tried assigning the script file pathname to the ScriptName property in code and in the designer, and set ScriptReady = true. The ScriptCached event fires but the PlayEvent never fires. It makes no difference if I set it to auto play or use the Play menu.

Is there any documentation on using the control in this way?

Many thanks for any help you can give.

Keith

Post #2628
Posted 1/10/2008 7:28:39 AM
Newbie

NewbieNewbieNewbieNewbieNewbieNewbieNewbieNewbie

Group: Forum Members
Last Login: 1/10/2008 7:16:16 AM
Posts: 2, Visits: 13
If anyone else is interested in embedding CrazyTalk output in an application, and is dissapointed that there has been no response to the post on this topic, then here is some information that may help.

CT v5 will be able to export Flash flv format video, so one option if you want to make it available in a Windows application is to use the Flash.ocx. Unfortunately, there are a number of problems documented on the web re using this control. But have a look at F-in-Box (www.f-in-box.com) they provide a wrapper for the flash.ocx that enables it to be used easily and can play video from a stream (rather than a temp file) and lots of other nice things.

Keith

Post #2681
« Prev Topic | Next Topic »


Reading This TopicExpand / Collapse
Active Users: 0 (0 guests, 0 members, 0 anonymous members)
No members currently viewing this topic.
Forum Moderators: Admin, Visconti, Peter Edwards, Spider, JMartin, Phil_20090922184357260, julia - reallusion

PermissionsExpand / Collapse

All times are GMT -5:00, Time now is 5:11pm

Powered By InstantForum.NET v4.1.4 © 2010
Execution: 0.156. 9 queries. Compression Enabled.