How to access password protected images from powerpoint-VBA?

  • Thread starter Girish Kulkarni
  • Start date
G

Girish Kulkarni

Hello All:

1. How can I access image files in a password protected folder from a
VBA program? One can use the 'LoadPicture ('path')' method, to
display
an image from a folder in a picture object, at run time. But I am
wondering if the folder was password protected, is there a way to
send
the password from inside VBA and still access the contents of the
folder?


2. In the above method, the picture object would have to be included
in the userform at design time, and any image that is loaded in that
picture object via the LoadPicture method, is available only until
the
program is running. Once you exit the program the image is not
retaied
in the picture object. Is there a way to add the picture objects (say
to the userform) as well as add/load images into these picture
objects
at run time, and still retain these objects/images in the userform,
even after the program has executed?


Thanx in advance, hope the questions make sense.


best.
Girish.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top