Page 1 of 1

How can I use print2flash CONVERT FILE TO swf in C# ?

Posted: Thu Jul 11, 2013 2:48 am
by yclhn
Dear All:

Now company need development 'File Management System'. we need convert the doc (TIF/PDF/DOC/EXCEL etc.) to swf(Flash) in web server and show it in client (IE).

can anyone help to provide some sample code to convert the file?

Development Tool :VS2008(C#) B/S (asp.net).

Thank you very much.

E_mail: yclhn@126.com

Re: How can I use print2flash CONVERT FILE TO swf in C# ?

Posted: Thu Jul 11, 2013 9:07 am
by staff
You may convert those kinds of files to SWF format using ASP.NET and C# with Print2Flash. You may get a sample from the Print2Flash SDK which can be downloaded from our download page at http://print2flash.com/download.php (the sample is located in the Automation\Samples\ASP.NET folder of SDK archive).

Re: How can I use print2flash CONVERT FILE TO swf in C# ?

Posted: Sun Jul 14, 2013 8:57 pm
by yclhn
Thanks for your support.I have run the sample program (In WinXP),but it occurs a error :

File could not be converted. Retrieving the COM class factory for component with CLSID {466FAC17-24D2-4B37-A2C4-E2CFA0D3E1E7} failed due to the following error: 80040154.

What's the wrong?

Re: How can I use print2flash CONVERT FILE TO swf in C# ?

Posted: Mon Jul 15, 2013 4:25 am
by staff
First, you need to install a commercial edition of Print2Flash on the computer where you run this sample. It can be downloaded from our download page at http://print2flash.com/download.php Then, you need to configure the Print2Flash Service as specified in the ReadMe.htm file located in the sample folder.