473,394 Members | 1,828 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,394 software developers and data experts.

gridview and powerpoint automation

Hello,

I've been driving myself nuts trying to find a solution to this. I'm
still a relative newbie to C#, and would be grateful for any helpful
suggestions.

I'm trying to find a way to create a gridview from a Web application
to an automated powerpoint slide. If that is not possible, then
reading the gridview items to a table created in powerpoint, all in
C#. Have searched Google many times, results ranged from "can't be
done" to "I've done it" with no sample code. However, there was lots
on exporting a gridview to Excel, which is not what I'm looking for.

I've looked on the Microsoft Knowledge Base at http://support.microsoft.com/?kbid=303718
and created their sample slides on my machine, and am trying to go
beyond that. I've also looked at their "Discussions in Automation"
and "Discussions in PowerPoint" but there's not a whole lot I can use.

Thanks!

Oct 24 '07 #1
4 3244
HibernatingBear,

Are you saying that from within a web page, you want to create a
powerpoint presentation? Or are you trying to create a presentation on the
server and serve it up to the user?
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"HibernatingBear" <le********@writeme.comwrote in message
news:11**********************@z24g2000prh.googlegr oups.com...
Hello,

I've been driving myself nuts trying to find a solution to this. I'm
still a relative newbie to C#, and would be grateful for any helpful
suggestions.

I'm trying to find a way to create a gridview from a Web application
to an automated powerpoint slide. If that is not possible, then
reading the gridview items to a table created in powerpoint, all in
C#. Have searched Google many times, results ranged from "can't be
done" to "I've done it" with no sample code. However, there was lots
on exporting a gridview to Excel, which is not what I'm looking for.

I've looked on the Microsoft Knowledge Base at
http://support.microsoft.com/?kbid=303718
and created their sample slides on my machine, and am trying to go
beyond that. I've also looked at their "Discussions in Automation"
and "Discussions in PowerPoint" but there's not a whole lot I can use.

Thanks!

Oct 24 '07 #2
Yes, the first one was correct, I am trying to create a powerpoint
presentation from within a web page. The user clicks a button and the
powerpoint slides are created automatically using information from the
web page.

Sorry this was not more clear. I feel like I've been chasing my tail!

Oct 24 '07 #3
HibernatingBear,

Without embedding an ActiveX control in the page, or a .NET control
which has the appropriate security settings, this is not possible, as it
will require starting a new process from the browser, which isn't possible
except with the appropriate permissions.

You could trigger a request to the server based on an action on the page
(navigating to a new page) and then return a new powerpoint presentation
which is generated on the server, but that's about as good as you can do.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"HibernatingBear" <le********@writeme.comwrote in message
news:11*********************@k35g2000prh.googlegro ups.com...
Yes, the first one was correct, I am trying to create a powerpoint
presentation from within a web page. The user clicks a button and the
powerpoint slides are created automatically using information from the
web page.

Sorry this was not more clear. I feel like I've been chasing my tail!

Oct 24 '07 #4
Thank you for your explanation!

Now I really know MS .NET was just teasing me when I tried to add a
table with blah.blah.AddShapes.Table(type, top, bottom, left, right)
or something similar. Would usually tell me that it wants a type, but
give little clue as to what kind.

Oct 24 '07 #5

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

Similar topics

0
by: careta | last post by:
Hello, I'm trying to automate PP creation from VB.net. The initial code is (as extracted from MSDN's KB209960): Public Sub Command1_Click() ' Start PowerPoint. Dim ppApp As...
0
by: Ata | last post by:
Hello, I am trying to copy the contents of the output of SQL Reporting Services to a PowerPoint slide. For this, I am using SQL Reporting Services to obtain an IMAGE stream, which I paste to the...
6
by: Colleyville Alan | last post by:
I have an application that has an Access table that stores the locations of slides in a Powerpoint file. This used to work fine when there were about 4 files and 200 slides. The database would...
8
by: Rut | last post by:
Does anyone know how to start powerpoint from vb.net without the ppt screen appearing. I want to keep it hidden? Using this code: Try pp = New PowerPoint.Application pp.Visible =...
2
by: jack | last post by:
Hello, I would like to take a PowerPoint file and make JPGs or GIFs out of each slide. How can I do this in VB.NET. Thanks for any help, Jack
0
by: waheed iqbal | last post by:
I am using PowerPoint Automation with late binding i.e i m using CreateObject("PowerPoint.Application"). But im unable to register Events Of powerpoint with LateBinding. if i try to register any...
6
by: Stan SR | last post by:
Hi, How to generate a powerpoint document using asp.net ? The best would be to merge a ppt template with datas that I generate Thanks for your help. Stan
1
by: bsg92150 | last post by:
i have a task that requires me to provide a web use with the ability to send teh current page to a power point slide. and to further complicate matters. the user may want to put the whole site...
6
by: BWPanda | last post by:
Hi everyone, I'm wanting to use VB.NET to display a powerpoint presentation, much the same way as the presenter that comes with PowerPoint (when used on multiple monitors). Basically, I want to...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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
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
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
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...
0
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...

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.