FileDialog problem, Visio2002

F

fvb

Hi everybody,

I have Visio2002 and Office XP installed. When I tried to
run the example code for the 'FileDialog' method from
Visio I first got a compile error 'user-defined type not
defined'. Then I activated the MS Office10 objects library
under tools references. Now the defintion 'Dim fd As
FileDialog' works but I get a runtime error at
'Set fd = Application.FileDialog(msoFileDialogFilePicker)'
which says that the Application object does not support
the FileDialog method. The same code works fine e.g. from
Excel XP. Does anyone know a workaround?

Reards,
fvb
 
D

DavidW

I was wondering if you ever figured out a solution to this problem? I'
having the same problem.

Thanks,
David




*Hi everybody,

I have Visio2002 and Office XP installed. When I tried to
run the example code for the 'FileDialog' method from
Visio I first got a compile error 'user-defined type not
defined'. Then I activated the MS Office10 objects library
under tools references. Now the defintion 'Dim fd As
FileDialog' works but I get a runtime error at
'Set fd = Application.FileDialog(msoFileDialogFilePicker)'
which says that the Application object does not support
the FileDialog method. The same code works fine e.g. from
Excel XP. Does anyone know a workaround?

Reards,
fvb


-
David
 

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