Open File Dialog in Outlook

  • Thread starter Thread starter Gary Hillerson
  • Start date Start date
G

Gary Hillerson

How can I display and use an open file dialog in Outlook?

I know how to use the FileDialog object in Word, and I found Sue
Mosher's article on opening Word from Outlook and using that, but I
want to do this without using Word. And I'm guessing there must be an
API I can use, but I can't find it.

Any help appreciate.

Thanks
gary hillerson
 
Hi Gary,

add an UserForm to your project, add a Microsoft CommonDialog Control to
the Toolbar, and drag it onto the form.

You need to set a few properties, e.g. CancelError=True.
 
Unfortunately, this doesn't work for me.

I tried on both my desktop and laptop computers, both running Office
2003 Professional.

On the laptop, I get a Visual Basic message "Class not registered",
and when I click the Help button, I get a blank help screen.

On the desktop, I get a different message: "The control could not be
created because it is not properly licensed." And again, clicking the
Help button leads to a blank screen.

Any further advice?

thanks,
gary
 
Back
Top