473,395 Members | 1,613 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Image loader for Powerpoint... is this the right scripting to use?

Pretty basic... well maybe it is in visual basic I don't know, can you help?

Can I use as a string in visual basic to automate a powerpoint; to take on multiple (5) images from a folder location - (usb stick).. and how do I program power point to do this.. does the script work on a cd on loading the presentation, or does it reside in powerpoints architecture...?

Do you know a script to do this?
Jan 22 '08 #1
1 1753
kadghar
1,295 Expert 1GB
Pretty basic... well maybe it is in visual basic I don't know, can you help?

Can I use as a string in visual basic to automate a powerpoint; to take on multiple (5) images from a folder location - (usb stick).. and how do I program power point to do this.. does the script work on a cd on loading the presentation, or does it reside in powerpoints architecture...?

Do you know a script to do this?
Well, yes it's possible using the VBA of your PPT, and should be easy if the images have the right name (e.g. MyPic1.jpg, MyPic2.jpg...MyPic5.jpg)
so we can use a FOR:

Expand|Select|Wrap|Line Numbers
  1. dim i as integer
  2. for i = 1 to 5
  3. ActiveWindow.Selection.SlideRange.Shapes.addpicture(FileName:="C:\myPath\MyPic" & i & ".jpg").Select
  4. next
Something like that should do.

HTH
Jan 22 '08 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: WillRead | last post by:
I have a VB.Net application and a PowerPoint presentation explaining how each form in the application works, etc.. I would like to select and display the slide appropriate for each form by pressing...
7
by: cjl | last post by:
OK: I am really scratching my head over a preload / image swapping problem, so I started conducting experiments: http://www.saintrays.net/experiment1.html...
8
by: Dave Quigley | last post by:
Hello everyone.... Im currently starting my targa support project again for ..NET and I am wondering if there are any particular interfaces or classes that Im supposed to extend in order to do this...
3
by: durstbj | last post by:
Hi, I am wondering if it is possible, using .Net, to make a preview image of a powerpoint slide within a webpage. All I want to know is if its possible. Thanks, Branden
8
by: jbrewer | last post by:
I'm trying to read in a FITs image file for my research, and I decided that writing a file decoder for the Python imaging library would be the easiest way to accomplish this for my needs. FITs is...
2
by: bedges | last post by:
okay, the scenario: i have a header image which changes randomly across all pages in the site. that works fine. i also have an image preloader within the random header picker which theoretically...
1
by: ellenh | last post by:
I have read postings on the similar subject including the posting from 2003 shown below. This process works fine to display a single page snapshot report in PowerPoint. I need to display...
1
epots9
by: epots9 | last post by:
I have a image inside of a div <div id="image"> <div id="loader"> <img id="loaderImage" src="assets/loader.gif" alt="loading..." /> </div> <div id="loaded"> <img id="picture" src="" alt=""...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
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...
0
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,...

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.