Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / C# / October 2007

Tip: Looking for answers? Try searching our database.

gridview and powerpoint automation

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
HibernatingBear - 24 Oct 2007 14:02 GMT
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!
Nicholas Paldino [.NET/C# MVP] - 24 Oct 2007 15:54 GMT
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?

Signature

         - Nicholas Paldino [.NET/C# MVP]
         - mvp@spam.guard.caspershouse.com

> Hello,
>
[quoted text clipped - 16 lines]
>
> Thanks!
HibernatingBear - 24 Oct 2007 16:00 GMT
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!
Nicholas Paldino [.NET/C# MVP] - 24 Oct 2007 16:12 GMT
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.

Signature

         - Nicholas Paldino [.NET/C# MVP]
         - mvp@spam.guard.caspershouse.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!
HibernatingBear - 24 Oct 2007 16:52 GMT
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.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.