473,756 Members | 8,174 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 "Discussion s in Automation"
and "Discussion s in PowerPoint" but there's not a whole lot I can use.

Thanks!

Oct 24 '07 #1
4 3264
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.co m

"HibernatingBea r" <le********@wri teme.comwrote in message
news:11******** **************@ z24g2000prh.goo glegroups.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 "Discussion s in Automation"
and "Discussion s 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.co m

"HibernatingBea r" <le********@wri teme.comwrote in message
news:11******** *************@k 35g2000prh.goog legroups.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.AddSh apes.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
1638
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 PowerPoint.Application ppApp = CreateObject("Powerpoint.Application") ' Make it visible.
0
568
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 Windows clipboard. Then, using automation, I am trying to copy this information from the clipboard to a PowerPoint slide. However, I get an error at slide.Shapes.PasteSpecial. I am able create a System.Drawing.Bitmap object from the memory...
6
3960
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 open all four PPT files at once, and would loop through queriers for ever client and create custom presentations. Now there are 8 files, nearly 500 slides and the computer is bogging down with trying to open them all at once. I know that Access...
8
7077
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 = Office.MsoTriState.msoTrue pp.WindowState = PowerPoint.PpWindowState.ppWindowMinimized Application.DoEvents()
2
4396
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
1375
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 eventhandler with object i get compile time error. Is there any way to use Events of powerpoint in late binding case.
6
2231
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
2281
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 into a slide. the problem is that the information is database driven and the user may not have visted the pages tha/ thankst he is requestion to download. my question is is this possable and is there an example out there that i can look at
6
6323
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 show the presentation in one form/window, and in the other, have controls for moving through the presentation, list of slides, etc. I don't really want code as such, more like a tutorial on how to do something like this.
0
9384
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, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9212
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9790
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9645
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
8645
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 project—planning, coding, testing, and deployment—without 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...
1
7186
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5247
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3742
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
3
2612
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.