Hard coded? Reference in Template

G

Guest

My Visio has a reference to a COM object that we use. Apparently the
reference keeps the path to the COM object saved in the actually file. So
when user A creates a new document from my visio template and saves it the
exact path to the COM object is saved into the file. The problem occurs
when user B attempts to open the visio document that User A saved. If the
COM object is installed into a different directory then user A they get an
error that the libary is Missing.

Am I missing something? Is there a way to override this functionality or
some way to programmatically to force the document to look up the location of
the COM object when the document is opened?

Thanks,
Mike
 
C

Chris Roth [ Visio MVP ]

I'm not an expert on the intracacies of COM, but I wonder if the object is
not registered? I would imagine that a COM reference holds a file path as a
backup to an GUID/ID in the registry. If the ID isn't present, then it looks
to the file path. If the path is different, and there's no ID in the
registry, then nothing will work?

Does this fit your problem?


--

Hope this helps,

Chris Roth
Visio MVP
 

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