Author Message

Posted: Thu Jun 19, 2008 12:41 pm   Post subject: error while converting ?

Hello,

i'm using the API of the FlashSpring in my ASP.NET 1.1 project. it seems a great product but i'm having an error while converting... i increase the "timeout" in web.config but while generating ppt to flash i took this error.

Error while converting C:\DOCUME~1\MURAT\ASPNET\LOCALS~1\Temp\fsse280542468.tmp\movie.xml to D:\NETProjects\FlashSpring\Swf\C:\Documents and Settings\ibrahima\Desktop\XMLSunu_smll.ppt


code is here :

Code:
private void Button1_Click(object sender, System.EventArgs e)
      {
      
         string fname = fupload.PostedFile.FileName;

if(fupload.Value != "")
         {
            FlashSpringAPI.FlashSpringClass flash = new FlashSpringAPI.FlashSpringClass();
            flash.OpenPresentation(fupload.Value);
            flash.GenerateFlash(Server.MapPath("~/Swf/"),fname,FlashSpringAPI.OutputMode.OM_SOLID,"NullSkin","");
         
            flash.ClosePresentation();
            flash.ClosePowerPoint();
         }
         else
         {
             Label2.Text = "Error Uploading File";
         }

      }


can anyone help me please? where am i wrong?


Profile profile test

Posted: Thu Jun 19, 2008 12:56 pm   Post subject:

Hi,

the point is that the fname parameter is not specified properly in your code.

The second parameter in GenerateFlash accepts only file name, not the path.


Profile profile test

Posted: Thu Dec 25, 2014 3:35 pm   Post subject: Re: error while converting ?

Hello, Maria and Shona155!

Thank you for reporting the issue!


Profile profile test
Display posts from previous:  Sort by  

  


Who is online
Who is online In total there are 7 users online :: 2 registered, 0 hidden and 5 guests (based on users active over the past 5 minutes)
Most users ever online was 108 on Thu Nov 21, 2013 3:41 pm

Registered users: Bing [Bot], Google [Bot]