Yes it makes sense. One way to achieve is using span element in the presentation layer and then setting the InnerHtml property in class file according to the condition. e.g. this.objSpan.InnerHtml = "
";
Thanks, Avanika
Yes it makes sense. One way to achieve is using span element in the presentation layer and then setting the InnerHtml property in class file according to the condition. e.g. this.objSpan.InnerHtml = "
";
Thanks, Avanika
Hi All, I am working on PowerPoint Automation. I have an image stored in the database which I have to insert in ppt slide. Can anybody give me some pointer or sample code how to do this? I am using the following piece of code objSlide.Shapes.AddPicture(fn,Microsoft.Office.Core.MsoTriState.msoFalse,Microsoft.Office.Core.MsoTriState.msoTrue,380,200,0,0); where fn is the name of the file. But i can not see the image in the slide.
Thanks, Avanika
Hey Amit, Thanks for the reply. Can you please give me sample code for that?
Thanks, Avanika
Hi All, I am working on PowerPoint Automation. I have an image stored in the database which I have to insert in ppt slide. Can anybody give me some pointer to how to do this? I am using the following piece of code objSlide.Shapes.AddPicture(fn,Microsoft.Office.Core.MsoTriState.msoFalse,Microsoft.Office.Core.MsoTriState.msoTrue,380,200,0,0); where fn is the name of the file. But i can not see the image in the slide. :(
Thanks, Avanika
hello All, I am working on server automation of PowerPoint through ASP.NET.After every few days I start getting error "Exception Details: System.Runtime.InteropServices.COMException: Server execution failed ". It comes in the line where I create the application object i.e. PowerPoint.Application pptApp = new PowerPoint.ApplicationClass(); Can anybody explain me why is it happening? Till now everything was working properly and suddenly this error started coming up. Last time when I encountered this error i had to get PowerPoint reinstalled on my server machine, after which error disappeared, which I feel now is not an appropriate solution. Please help!
Thanks, Avanika
hello All, I am working on server automation of PowerPoint through ASP.NET.After every few days I start getting error "Server Execution Failed. It comes in the line where I create the application object i.e. PowerPoint.Application pptApp = new PowerPoint.ApplicationClass(); Can anybody explain me why is it happening? Till now everything was working properly and suddenly this error started coming up. Last time when I encountered this error i had to get PowerPoint reinstalled on my server machine, after which error disappeared. Please help!
Thanks, Avanika
Hello All, I need to do client side automation of PowerPoint.Can somebody please help me out? Any pointers to this will also be helpful. Thanks, Avanika
Thanks, Avanika
Can you please explain a little more? I got to know after doing some R&D that one way to do is through Office Automation, and this way the presentation would be generated on the server side. How to post it at client.Another point I am doubtful about its behavior in multiuser application. Can you please explain you point little more?
Thanks, Avanika
Hello all, I need to create Powerpoint presentation using asp.net.The format for the presentation is predefined, so I need to use a template for the presentation.This presentation should be generated on the client side. If anyone of you have any idea how to go about that, then please let me know. Thanks in advance :-)
Thanks, Avanika
hi, I am trying to to client side word automation through ASP.NET, C# web based application. Server side word automation can be done easily and i have written the code, so i am able to generate the word document on the server. As per the requirement it has to be generated on the client machine. For this code should be written in some scripting language. Please help! Thanks, Avanika
hi Sandy, thanks for the reply. I am fetching the image from the database at run time and then displaying it on the web page using image web server control. I have to export this web page to MS Word. Since the dimensions of the image are not the one that are required, so I have to resize the image. To do this i am setting the height and width of the image control. Doing this, Image dimensions on the web page gets changed but in the document it is still the same. Could you please help me to do this? Thanks, Avanika
Hi All, I have a web page which is having repeater control which in turn have image control.I am setting the ImageUrl property of the image control during runtime in the ItemDatabound event of the Repeater control ( because image is being retrieved from the SQL database). I am setting the height and width property as well during runtime. Doing this I am able to see the resized image on the web page, but when I export this to MS Word, I am seeing the image in the word document with original dimensions. I need the word document to have the image in the same dimensions as I can see in the web page. Basically I am trying to generate the report in word format which would be exactly the same as that of the web page. Thanks, Avanika