473,385 Members | 1,912 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

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.PowerPoint 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 3416
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: AcYdyYel5bICQfCSSyKzS3XUwr8VAQ==
| 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**********************************@microsoft.co m>
| 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.public.dotnet.framework.aspnet
| NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.2.250
| Path: TK2MSFTNGXA02.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFT NGXA03.phx.gbl
| Xref: TK2MSFTNGXA02.phx.gbl
microsoft.public.dotnet.framework.aspnet:372385
| X-Tomcat-NG: microsoft.public.dotnet.framework.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.PowerPoint 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 23 '06 #2

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

Similar topics

8
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...
11
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...
4
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)...
10
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...
2
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...
2
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...
1
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...
4
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....
0
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. ...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...

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.