Re: Hard coded? Reference in Template
- From: "Chris Roth [ Visio MVP ]" <visioguy@xxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Wed, 27 Jul 2005 20:22:04 +0200
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
"Spamp" <Spamp@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:B9310BDE-1232-447B-9CAD-C91713CEEF13@xxxxxxxxxxxxxxxx
> 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
.
- References:
- Hard coded? Reference in Template
- From: Spamp
- Hard coded? Reference in Template
- Prev by Date: Re: VB Code (Add-In) To Read UML Objects properties
- Previous by thread: Hard coded? Reference in Template
- Next by thread: VB Code (Add-In) To Read UML Objects properties
- Index(es):
Relevant Pages
|