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

Questions related to converting various types of documents
Post Reply
yclhn
Posts: 2
Joined: Thu Jul 11, 2013 2:26 am

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

Post by yclhn » Thu Jul 11, 2013 2:48 am

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

staff
Posts: 281
Joined: Sat Dec 15, 2007 4:48 pm

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

Post by staff » Thu Jul 11, 2013 9:07 am

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).

yclhn
Posts: 2
Joined: Thu Jul 11, 2013 2:26 am

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

Post by yclhn » Sun Jul 14, 2013 8:57 pm

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?

staff
Posts: 281
Joined: Sat Dec 15, 2007 4:48 pm

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

Post by staff » Mon Jul 15, 2013 4:25 am

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.

Post Reply