Controlling a Link object in Office app

C

c duden

Does anyone know of a way to control the loading of a linked item in an
office document through office automation or another method? We have are
using a product that uses a custom namespace extension but when you navigate
through the link object's explorer view to an image or document within this
namespace word pukes on the PIDL (path) that it returns. Essentially what
we want to do is to intercept the load of a linked item and load something
else OR be able to modify the path of the linked item before the load
request is performed.

Any help will be appreciated.

CMD
 
W

Wei-Dong Xu [MSFT]

Hi duden,

It will be appreciated that you tell me more information about this issue.
What tools are you using to develop the linked object or something related?
Thank you in advance.

Please feel free to let me know if you have any question.

Thank you for using Microsoft NewsGroup!

Wei-Dong Xu
Microsoft Product Support Services
Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.
 
C

c duden

Wei-Dong,

The application I am refering to is Domino.Doc -- a pluggin for Office
applications. The issue is that we cannot use the linking features in
Office applications with documents stored in Domino.Doc. The Namespace
extension installed on the client (doc.enabler) evidently returns a PIDL to
office that it doesn't like. We are looking at several options to get
around this problem. We have access to a COM api with doc.enabler on the
client where we can programmatically retrieve and manipulate documents
stored in Domino. So, is there a way to manipulate Word\Excell etc
documents and intercept the loading of a linked item to manipulate the path
it is requesting or to just intercept the request -- go retrieve the
document and return the stream using office automation?

Thanks,

CMD
 
L

Lori Turner [MSFT]

CMD,

I'm not familiar with the Domino.Doc or doc.enabler components you
mentioned. But I'm interpretting your message below to mean that these
components make up a document management system that is interacting with
Word via a COM Add-in?

There is not a way for you to intercept the document while it is opening in
Word. However, one option that might help you is to turn off the automatic
updating of links (in Tools > Options or
Application.Options.UpdateLinksAtOpen=false at runtime), examine/modify the
linked objects programmatically, and then update the linked objects if
needed. Is this sort of what you're looking for?

Regards,
Lori Turner
Microsoft Developer Support

This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
 
C

c duden

Thank you Lori, We figured out a work around for this problem. I can look
at and change the path of a linked document on document open and also
reverse the process when it closes or is saved.

You are certainly not the only one not familiar with domino.doc or
doc.enabler... we are figuring things our as we go.
domino.doc is IBM\LOTUS|DOMINO's document management system that sits on
domino server. doc.enabler is a COM addin for Office apps that allows you
to open\save a document (from within office applications) directly from a
domino.doc database. What it doesn't do is allow you to link documents. We
are attempting to address this deficiency.


"Lori Turner [MSFT]" said:
CMD,

I'm not familiar with the Domino.Doc or doc.enabler components you
mentioned. But I'm interpretting your message below to mean that these
components make up a document management system that is interacting with
Word via a COM Add-in?

There is not a way for you to intercept the document while it is opening in
Word. However, one option that might help you is to turn off the automatic
updating of links (in Tools > Options or
Application.Options.UpdateLinksAtOpen=false at runtime), examine/modify the
linked objects programmatically, and then update the linked objects if
needed. Is this sort of what you're looking for?

Regards,
Lori Turner
Microsoft Developer Support

This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
 

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