Solved

load files from powerpoint

Posted on 1998-03-30
8
263 Views
Last Modified: 2008-02-01
I am wondering is it possible for us to load pictures store in .ppt forms(microsoft powerpoint)i know normally to load pics we use picture.picture=load ("pathname") but files in *.ppt are files so i  cannot load it...but i reaaly need to use the files store in *.ppt forms ...is therea way?????
0
Comment
Question by:gunner445
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 3
8 Comments
 
LVL 9

Accepted Solution

by:
Dalin earned 200 total points
ID: 1459988
gunner445,
See if this solve your problem. If not, please post comments and give a little more details.

ACC: How to Display Microsoft PowerPoint Slides on a
      Form
http://support.microsoft.com/support/kb/articles/q149/0/88.asp
Regards
Dalin

0
 

Author Comment

by:gunner445
ID: 1459989
dalin...
hm....well actually what i want is to load the graphic from a file in powerpoint to a picture box in my vb program...so...is there a way...if possible pls reply quick as i am reallt desperate cos i need this for my project....
0
 
LVL 9

Expert Comment

by:Dalin
ID: 1459990
gunner445,
How many ppt graphs are you try to load? Can your graph fit in the screen? Is this a regular task or just a one time thing?
Hope to hear from you soon. I will try my best to help you out.
Regards
Dalin

0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 9

Expert Comment

by:Dalin
ID: 1459991
gunner445,

See if any of these can do your job:

Method 1. In Power point, load all your pictures, and then save them as GIF file.  You VB picturebox can load GIF files;

Method 2.  In Your VB form, drop a OLE control. The OLE dialog box appear, and then select "Create from file", and then select your file, click ok, ok. Your ppt graph is in your form like a picture box.

Hope this helps.  If not, please let me know.
Best wishes
Dalin  
0
 

Author Comment

by:gunner445
ID: 1459992
dalin..
actually what i want is i can choose to load any files during run times so how do i do it...
0
 

Author Comment

by:gunner445
ID: 1459993
dalin..
actually what i want is i can choose to load any files during run times so how do i do it...
0
 
LVL 9

Expert Comment

by:Dalin
ID: 1459994
gunner445,
Could you explain what you want to do in a little more detail?
You want the user to enter a filename, which is a ppt file, and then load to a picture box?
Regards.
Dalin
0
 
LVL 9

Expert Comment

by:Dalin
ID: 1459995
gunner445,

Try this to see if OK

Drop an OLE container Control in your form, Name OLE1

When you get the filrename,
Add code:    
 OLE1.SourceDoc = "YourFile.ppt"
 OLE2.Action = 1

Regards
Dalin


0

Featured Post

Instantly Create Instructional Tutorials

Contextual Guidance at the moment of need helps your employees adopt to new software or processes instantly. Boost knowledge retention and employee engagement step-by-step with one easy solution.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question