Hi,

I'm using VB6 to open a powerpoint file, but a dialog box opens up that says "file.pptx is reserved by x. Enter password to modify, or open read only."

This is causing my program to wait for input. I'd like to be able to do one of the following:

- Detect that the file has such a restriction

- Open the file in such a way that the prompt doesn't appear
(I tried opening the file as read only, but that doesn't work)

- Issue a response programatically
(Tried using sendkeys with a Timer, but the timer sub never
got called).

Any help is appreciated.
Thanks