473,625 Members | 3,111 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How to embed XLS files within PPT in an ASP.NET app

I have a series of XLS files which I need to embed into a PowerPoint
presentation on an IIS server. I’ll be using VB.NET. I’ve tried using an
ASPOSE.PowerPoi nt control to do this and it does partially work. The problem
is that when I embed the XLS files PowerPoint is not running and has no way
of capturing the XLS image and embedding it into the PPT. When the user
opens the PPT they are presented with hundreds of “Object Changed” messages
in red text. They must double-click on each so PowerPoint can get an image
of the XLS to embed within the PPT. I have developed a macro which will
automate the clicking process but PowerPoint does not support autorun macros
(without installing an add-in which the client does not want) and the client
is insistent that this can be done on the server and they should not have to
run the macro. This led to me creating a VB.NET application to open the PPT
and run the macro. I can call it from the command prompt, pass in a PPT file
name and it opens the PPT and runs the macro. When I try running the exe
from my web site I get a JIT error. I’ve presented this to the forum but
have no resolution. So I’m now I’m looking for other ways of embedding the
XLS files within the PPT.

Thanks so much.
Jan 20 '06 #1
1 3435
Hi Snicks,

Welcome to ASPNET newsgroup.
From your description, you're using ASP.NET to build a web application
which will publish some Power Point document to client users. The Power
Point documents will contain some excel document embeded in it, however,
you found the ppt no longer work (at clientside) if there has xls doc
embeded , yes?

Based on my experience, for Office application (word, excel, powerpoint...)
processing, it is not quite recommended in asp.net web application since
Office application are designed as clientside desktop program which can not
afford large number of concurrent requests. Also, asp.net web application
is a serverside non-UI service which can not display anything directly to
client, all the page content need to be rendered to clientside browser(the
same for office documents). Generally, we'll have to use rich client
components such as activex controls to display them in web page, or use
clientside scripts to automate word application ... of course, both of the
two require our activex control or web page be granted sufficient
permissions...

In addition, as for the PPT document not work correctly when embed some xls
objects, I think we can try testing it in a normal winform application. If
the problem remains, I think it is likely a office specific issue and I'd
suggest you try posting in some office development newsgroups also since
there may have office expertes there who have some experience on this...

Regards,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

--------------------
| Thread-Topic: How to embed XLS files within PPT in an ASP.NET app
| thread-index: AcYdyYel5bICQfC SSyKzS3XUwr8VAQ ==
| X-WBNR-Posting-Host: 66.160.85.195
| From: =?Utf-8?B?c25pY2tz?= <sn****@nospam. nospam>
| Subject: How to embed XLS files within PPT in an ASP.NET app
| Date: Fri, 20 Jan 2006 05:58:02 -0800
| Lines: 19
| Message-ID: <32************ *************** *******@microso ft.com>
| MIME-Version: 1.0
| Content-Type: text/plain;
| charset="Utf-8"
| Content-Transfer-Encoding: 8bit
| X-Newsreader: Microsoft CDO for Windows 2000
| Content-Class: urn:content-classes:message
| Importance: normal
| Priority: normal
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
| Newsgroups: microsoft.publi c.dotnet.framew ork.aspnet
| NNTP-Posting-Host: TK2MSFTNGXA03.p hx.gbl 10.40.2.250
| Path: TK2MSFTNGXA02.p hx.gbl!TK2MSFTN GP08.phx.gbl!TK 2MSFTNGXA03.phx .gbl
| Xref: TK2MSFTNGXA02.p hx.gbl
microsoft.publi c.dotnet.framew ork.aspnet:3723 85
| X-Tomcat-NG: microsoft.publi c.dotnet.framew ork.aspnet
|
| I have a series of XLS files which I need to embed into a PowerPoint
| presentation on an IIS server. I’ll be using VB.NET. I’ve tried
using an
| ASPOSE.PowerPoi nt control to do this and it does partially work. The
problem
| is that when I embed the XLS files PowerPoint is not running and has no
way
| of capturing the XLS image and embedding it into the PPT. When the user
| opens the PPT they are presented with hundreds of “Object
Changed?messa ges
| in red text. They must double-click on each so PowerPoint can get an
image
| of the XLS to embed within the PPT. I have developed a macro which will
| automate the clicking process but PowerPoint does not support autorun
macros
| (without installing an add-in which the client does not want) and the
client
| is insistent that this can be done on the server and they should not have
to
| run the macro. This led to me creating a VB.NET application to open the
PPT
| and run the macro. I can call it from the command prompt, pass in a PPT
file
| name and it opens the PPT and runs the macro. When I try running the exe
| from my web site I get a JIT error. I’ve presented this to the forum
but
| have no resolution. So I’m now I’m looking for other ways of
embedding the
| XLS files within the PPT.
|
| Thanks so much.
|

Jan 23 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
13146
by: Stefan van Roosmalen | last post by:
Hi there, The first page of my Internet website must be INDEX.HTM. But, if I want to embed some PHP code in this page, I must rename it to INDEX.PHP. Easy, but not simple, because INDEX.PHP will not load as the default startup-page of my website. So, my question is: How can I embed some PHP code within a normal HTML page (without using the
11
4486
by: Anna | last post by:
Hi all. I want to embed the EMBED tag in the object tag. I understood that I need to provide a PARAM tag inside the OBJECT whose value will hold the content of EMBED src attribute, but after that I've got confused. For example, what should be put into classid and codebase attributes of the OBJECT now embedding the EMBED tag?
4
3406
by: AES/newspost | last post by:
Can anyone provide a quick tip on the html structure to link from a thumb to a movie poster and from there on to a QuickTime movie, all in one go, using EMBED? I have a number of (large) QuickTime movie files, each of them matched to a one-frame QuickTime movie poster of the same screen size and also to a much smaller JPEG thumb of the same image as the movie poster. I want to put the small thumbs into individual Table cells to serve...
10
4510
by: Yogi_Bear_79 | last post by:
pardon my ignorance as I am a self-taught hobbyist programmer. I am curious after reading up on SharpZipLib. Can I embed a zipped txt file in my program? Then either read from within the zip file or unzip and read it? I currently have an embedded text file that contains a list that is read into an array. I'm always looking to save space. And I could reduce my file size 75% if it was zipped! I have looked at the SharpZipLib web site,...
2
3089
by: Cris Curtis | last post by:
When I use an embed tag that uses a dynamic aspx page, the dynamic aspx page appears to get called 2 times instead. Below is code that adds an embed tag to a placeholder control that will use a second aspx page to generate the svg for the embed. svgchart.Controls.Clear(); string strSRC = "./DesktopModules/Enterprise/BusinessRuleSVG.aspx";
2
4926
by: benmourra | last post by:
Hi all, I'm trying to create a web page using VS2005, ASP.NET 2.0, that will allow me to choose from a list of media files on my computer and then play my selection within an embedded Windows Media Player on the page. I've been able to eventually find out how to embed the player into the page by manually inserting code into the source view of my aspx file. It plays the file specified in the source view, but I'd like to be able to...
1
2974
by: Andrew Poulos | last post by:
With "normal" SWF HTML there's an EMBED tag nested within an OBJECT tag. How can I check which tag is actually displaying the SWF? I'm using CSS on them and the style on the OBJECT affects the EMBED tag so I'm going to use some code to correct it but I can't tell which tag is responsible for the display. Andrew Poulos
4
4271
by: csgraham74 | last post by:
Ok - i was wondering if someone could help me. im basically trying to embed an html string in piece of XML. i created an xsl and added the CDATA into the xml around the html i wish to render. In my calling page i create an XML data island (excuse the terminology as im new to this stuff) to pull in the xml fields and to hopefully render the html as xml (see Details node ) . Unfortunately this doesnt work and it just displays as a...
0
1533
by: VigneshS | last post by:
Hi, I am a newbie to Globalization and Localisation Concepts. I tried almost all the methods of the Globalization concepts. But i cannot be able to embed a text file within a Resource. My need is to open a solution programmatically, select a Project within, and get a source resource file. Then, select a number of cultures and create culture specific resources with the content of the source resource assembly. I aquired upto...
0
8253
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, well explore What is ONU, What Is Router, ONU & Routers main usage, and What is the difference between ONU and Router. Lets take a closer look ! Part I. Meaning of...
0
8692
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
8354
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8497
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7182
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development projectplanning, coding, testing, and deploymentwithout human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5570
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4192
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2621
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
1499
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.