Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8946025
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T12:24:22+00:00 2026-06-15T12:24:22+00:00

I am using VS 2005 for Powerpoint Automation .What I am trying to do

  • 0

I am using VS 2005 for Powerpoint Automation .What I am trying to do here is open existing PPT from specified location and write data to it.In some slides I have table structure,these tables are filled from Dataset in code.However the problem here is if the table in PPT have lets say 10 rows and Dataset has 20 or 30 which is more than 10 rows Now for this if there are 30 rows in Dataset then i exactly need 3 similar slides.How shall I duplicate the table structure in PPT using C# prior to filling the PPT Table .
Till now what i have used is this

                   double SlideCount=0;
                    if (DS.Tables[0].Rows.Count > 10)
                    {
                        SlideCount = (DS.Tables[0].Rows.Count) / 10;

                        SlideCount = Math.Round(double.Parse(SlideCount.ToString()));

                        for (int i = 0; i < SlideCount; i++)
                        {
                            //Code to Duplicate slide
                        }
                      }

my ultimate goal is to eliminate blank Slides

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T12:24:23+00:00Added an answer on June 15, 2026 at 12:24 pm

    I do this kind of thing in VBA, and since you haven’t shown the code you’ll use to access the presentation, it’s hard to translate, but in general outline:

    Open the presentation and get a reference to it (let’s call it oPres)

    Assuming that you want to duplicate the first slide, call this as many times as you need:

    oPres.Slides(1).Duplicate
    

    In your case, I doubt it’ll matter, but as an FYI, the duplicate of Slide 1 will always appear directly after Slide 1, not at the end of the presentation.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm exporting data programatically from Excel to SQL Server 2005 using SqlBulkCopy. It works
I am using the VSSConveter.exe tool to import from VSS6 (using 2005 ide) to
I'm using SSRS 2005 and I need to convert time from a serial unix
In MS VisualStudio (I'm using 2005), it's possible to right-click in some code file
Using SQLServer 2005 I have dropped some tables (via a T-SQL query) and they
I am using c# 2005 i want to write string diagonally on image. But
Using MSSQL 2005 I am used to writing a statement like this: delete from
I am inserting data into SQL 2005 using SQLXMLBulkLoad.SQLXMLBulkload.3.0 My data table has following
I am using MSSQL 2005 for a query, say: SELECT * from Emp UNION
Using SQL 2005 Here is what my SQL results look like UserID | Frame

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.