Profile Picture

Using ocx control in C# projetc

Posted By keith_20090922181222537 17 Years Ago
You don't have permission to rate!
Author
Message
keith_20090922181222537
keith_20090922181222537
Posted 17 Years Ago
View Quick Profile
Senior Member

Senior Member (288 reputation)Senior Member (288 reputation)Senior Member (288 reputation)Senior Member (288 reputation)Senior Member (288 reputation)Senior Member (288 reputation)Senior Member (288 reputation)Senior Member (288 reputation)Senior Member (288 reputation)

Group: Forum Members
Last Active: 17 Years Ago
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

keith_20090922181222537
keith_20090922181222537
Posted 17 Years Ago
View Quick Profile
Senior Member

Senior Member (288 reputation)Senior Member (288 reputation)Senior Member (288 reputation)Senior Member (288 reputation)Senior Member (288 reputation)Senior Member (288 reputation)Senior Member (288 reputation)Senior Member (288 reputation)Senior Member (288 reputation)

Group: Forum Members
Last Active: 17 Years Ago
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




Reading This Topic