visio not loading from code 
Author Message
 visio not loading from code

I'm trying to start visio 2002 professional from a C# program. I've added a
reference to the visio 2002 type library and am starting it with the
following code:

Visio.Application visApp = new Visio.ApplicationClass();

This seems to work fine on my Windows XP machine. However, it causes an
invalid page fault in kernel32.dll on my Windows 98 machine. I'm copying and
placing the Interop.Visio.dll into the same directory as the executable.
However, it still crashes the program when it tries to start the instance of
visio.

Note: Both machines have the same version of the visio 2002 sdk and visio
2002 professional.

Is there anyone that can help?



Wed, 24 Nov 2004 12:31:19 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. JET: could not load the setup or translator library, system error code 126

2. speed up visio file loading

3. Loading macros in Visio

4. Loading a Form in a Visio Drawing 5.0c

5. ocx coud not loaded - does it continue loading project

6. Not a loaded class error when loading form

7. Setting an option to load / not load my proggy using the Run section of the registry

8. How to load resorces of a form that is not loaded

9. Could not load an object because its not available on this machine

10. Could not load an object because its not available on this machine

11. Documents not loading, breakpoints not working

12. Can not load listview control - License not found?

 

 
Powered by phpBB® Forum Software