View Single Post
  #4  
Old April 1st, 2010, 01:14 PM posted to microsoft.public.visio.general
AlEdlund
external usenet poster
 
Posts: 468
Default usnig the std open dialog in Visio VBA code

I used to use these

visApp.Application.DoCmd(visCmdFileSave)

for the embedded ones. I eventually moved on to just referencing the Excel
libraries which gave me access to the Office routines that are referenced in
the help files. The exposure is that you have now created a requirement for
the user of your DLL to have Office installed (the same one that you
developed with).

When I get into any new bind with VB I go check Randy Birch's site
(vbnet.mps.org)

al


"DC Kelley" wrote in message
...
Solved. It looks like one can drop a reference on any form in the design
and thereby get a global reference that works elsewhere in the project.
You
also need to use the right control, i.e. Microsoft Common Dialog Control
6.0
(SP6) not the one I mentioned. You can then add a line like: Dim
CommonDialog1 As CommonDialog in your routine and you are back in biz.
DCK