Solved

load files from powerpoint

Posted on 1998-03-30
8
260 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
Comment Utility
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
Comment Utility
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
Comment Utility
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
 
LVL 9

Expert Comment

by:Dalin
Comment Utility
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
How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

 

Author Comment

by:gunner445
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

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…
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 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…
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…

728 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now