Solved

load files from powerpoint

Posted on 1998-03-30
8
262 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
Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

 
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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
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…

830 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