468,738 Members | 2,670 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,738 developers. It's quick & easy.

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 3041
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 discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by careta | last post: by
reply views Thread by waheed iqbal | last post: by
6 posts views Thread by Stan SR | last post: by
1 post views Thread by bsg92150 | last post: by
6 posts views Thread by BWPanda | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by zhoujie | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.