473,809 Members | 2,724 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Need help with powerpoint footer replacement with C# Office Automation

This is an office automation project.

I am currently working on a document control project tracking
powerpoint, word, and excel documents. The documents are required to
have a specific style of footer as mandated by an organization that has

given us certification. The style looks as follows:
<UserDefinedInf o <UserDefinedInf o>
<Date Page <pageof
<Pages>
If there is a footer the data needs to be erased and then replaced with

a footer that looks like the one above. If there isn't a footer then
one needs to be added and include the above information.
The word and excel documents went well and work fine. However, seeing
as there is no real standardization between how the products work. I'm

having a lot of trouble. The biggest is we can assume nothing about
the format of the document. We can't assume slide size, footer
location, whehter or not the footer is present or whether or not it has

text in. I could find a lot of information on such activites in word
and excel but absolutely nothing in Powerpoint. I've performed the
task as a macro and then converted the VBA to C#, however, the VBA that

gets spit out is specific to the document the macro was recorded in.
The boss was very adamant about this being possible and done in this
exact away, however, he could offer no input as to how.
If anybody can give me a hand or point me in some type of direction
with this I would much appreciate it.
Thanks,
~Justin

Jan 8 '07 #1
0 1454

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

Similar topics

0
1641
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
1233
by: kevininstructor | last post by:
I found a good example at Microsoft but appear to have some slight problems. Example @ Microsoft http://support.microsoft.com/default.aspx?scid=kb;EN-US;303717 Note:I followed all the instructions Directly under 'Build Slide #3:
0
1029
by: asadhussain | last post by:
I am trying to automate conversion of powerpoint files to html. I have developed this as a windows service and here is the conversion code: .... PowerPoint.Application ppApp = new PowerPoint.Application(); PowerPoint.Presentation prsPres = ppApp.Presentations.Open(targetFile, Microsoft.Office.Core.MsoTriState.msoTrue, Microsoft.Office.Core.MsoTriState.msoFalse,
0
2558
by: Marc Eggenberger | last post by:
Hi there. I have an webapp (asp.net) which should use powerpoint to create a presentation and then send that presentation to the user. I'm using VS2003 and Office2003 (project req.). The webapp runs find but when I try to open powerpoint in my asp.net code I get an error
8
7082
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
4406
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
4
2150
by: daD | last post by:
I am using an access front-end to open a MS P{werpoint presentation. My problem is that when I am finished with the presentation and use the "back" button on the toolbar to return to MS Access, MS Powerpoint remains open. Everytime I open another presentation, the problem repeats. Is there any way to tell Powerpoint to close or to close the prentration when done. Thanks!
6
2235
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
11909
by: chrizstone | last post by:
Hi Guys, What i want to do is: I want to create a Slide programmatically where a Table is on it! Here´s my Code: String strTemplate; strTemplate = template; String tableSlide = @"C:\Temp\TableSlide_" + guid.ToString();
0
9601
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
10376
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...
1
10378
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9198
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
7653
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
5550
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4332
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
2
3861
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3013
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.