Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 268
  • Last Modified:

load files from powerpoint

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
gunner445
Asked:
gunner445
  • 5
  • 3
1 Solution
 
DalinCommented:
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
 
gunner445Author Commented:
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
 
DalinCommented:
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
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
DalinCommented:
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
 
gunner445Author Commented:
dalin..
actually what i want is i can choose to load any files during run times so how do i do it...
0
 
gunner445Author Commented:
dalin..
actually what i want is i can choose to load any files during run times so how do i do it...
0
 
DalinCommented:
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
 
DalinCommented:
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

[Webinar] Cloud and Mobile-First Strategy

Maybe you’ve fully adopted the cloud since the beginning. Or maybe you started with on-prem resources but are pursuing a “cloud and mobile first” strategy. Getting to that end state has its challenges. Discover how to build out a 100% cloud and mobile IT strategy in this webinar.

  • 5
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now