Solved

load files from powerpoint

Posted on 1998-03-30
8
261 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
  • 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
NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

 
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

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

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

Suggested Solutions

Introduction I needed to skip over some file processing within a For...Next loop in some old production code and wished that VB (classic) had a statement that would drop down to the end of the current iteration, bypassing the statements that were c…
If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

831 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