I'm going to need to build an application using Word 2003 that will be able
to open documents stored in iManage, then save them back in iManage after
they have been edited. I want to do this using VBA code. I've done a lot with
Access and Excel VBA coding, but this is my first attempt with Word.

Any suggestions would be appreciated.

Thanks,

Steve

Re: Open and Save to iManage by Shauna

Shauna
Fri Aug 03 05:19:31 CDT 2007

Hi

I don't know iManage, but I can say that the only way you'll be able to get
VBA to "talk" to iManage is if iManage exposes an object model to talk to.

Some document management systems do this (Trim is one); others don't. I
suggest you talk in the first instance to your iManage supplier, or look
around their web site for a software development kit or other way of talking
to iManage. A good way to start is to get some sample code that does the
basics of what you want, and then modify and expand it to suit your needs.
Generally, it involves creating a reference in VBA (using Tools > Reference)
to the DLL from the document management software, and then using the
properties and methods that the DLL exposes to talk to its database.

My experience is that document management applications rarely allow you to
do exactly what you had in mind; but perhaps I'm just being cynical.

Hope this helps.

Shauna Kelly. Microsoft MVP.
http://www.shaunakelly.com/word


"sjwopg" <sjwopg@discussions.microsoft.com> wrote in message
news:8DAA6AD5-029D-4422-A06E-D1D9B4110CEB@microsoft.com...
> I'm going to need to build an application using Word 2003 that will be
> able
> to open documents stored in iManage, then save them back in iManage after
> they have been edited. I want to do this using VBA code. I've done a lot
> with
> Access and Excel VBA coding, but this is my first attempt with Word.
>
> Any suggestions would be appreciated.
>
> Thanks,
>
> Steve



Re: Open and Save to iManage by Jonathan

Jonathan
Fri Aug 03 08:00:57 CDT 2007


"Shauna Kelly" <ShaunaKelly@SendNoSpamToShaunaKelly.com> wrote in message
news:%23LpJNfb1HHA.3768@TK2MSFTNGP06.phx.gbl...
> Hi
>
> I don't know iManage, but I can say that the only way you'll be able to
> get VBA to "talk" to iManage is if iManage exposes an object model to talk
> to.
>
> Some document management systems do this (Trim is one); others don't. I
> suggest you talk in the first instance to your iManage supplier, or look
> around their web site for a software development kit or other way of
> talking to iManage. A good way to start is to get some sample code that
> does the basics of what you want, and then modify and expand it to suit
> your needs. Generally, it involves creating a reference in VBA (using
> Tools > Reference) to the DLL from the document management software, and
> then using the properties and methods that the DLL exposes to talk to its
> database.
>
> My experience is that document management applications rarely allow you to
> do exactly what you had in mind; but perhaps I'm just being cynical.
>

iManage does expose an object model. It is not all that wonderfully well
documented but it does exist, and you can use VBA code to save files to
iManage and retrieve file from it.

You do need to create a reference to the iManage library, and from my
experience, the library required depends on the version of Word being used,
which is rather a nuisance as it means that if you have a mixed environment,
you have to have two different versions of your templates or add-ins, one
for each version of word, differing only in the references that are set.


--
Regards
Jonathan West - Word MVP
www.intelligentdocuments.co.uk
Please reply to the newsgroup



Re: Open and Save to iManage by sjwopg

sjwopg
Fri Aug 03 10:28:02 CDT 2007

Thanks to the both of you. I figured it was sort of dll reference issue. I'll
check with my client's vendor about that.

If the documentation is sketchy or better/worse yet unavailable, how can I
find out the properties and methods of the dll?

Steve

"Jonathan West" wrote:

>
> "Shauna Kelly" <ShaunaKelly@SendNoSpamToShaunaKelly.com> wrote in message
> news:%23LpJNfb1HHA.3768@TK2MSFTNGP06.phx.gbl...
> > Hi
> >
> > I don't know iManage, but I can say that the only way you'll be able to
> > get VBA to "talk" to iManage is if iManage exposes an object model to talk
> > to.
> >
> > Some document management systems do this (Trim is one); others don't. I
> > suggest you talk in the first instance to your iManage supplier, or look
> > around their web site for a software development kit or other way of
> > talking to iManage. A good way to start is to get some sample code that
> > does the basics of what you want, and then modify and expand it to suit
> > your needs. Generally, it involves creating a reference in VBA (using
> > Tools > Reference) to the DLL from the document management software, and
> > then using the properties and methods that the DLL exposes to talk to its
> > database.
> >
> > My experience is that document management applications rarely allow you to
> > do exactly what you had in mind; but perhaps I'm just being cynical.
> >
>
> iManage does expose an object model. It is not all that wonderfully well
> documented but it does exist, and you can use VBA code to save files to
> iManage and retrieve file from it.
>
> You do need to create a reference to the iManage library, and from my
> experience, the library required depends on the version of Word being used,
> which is rather a nuisance as it means that if you have a mixed environment,
> you have to have two different versions of your templates or add-ins, one
> for each version of word, differing only in the references that are set.
>
>
> --
> Regards
> Jonathan West - Word MVP
> www.intelligentdocuments.co.uk
> Please reply to the newsgroup
>
>
>

Re: Open and Save to iManage by Jonathan

Jonathan
Fri Aug 03 11:29:13 CDT 2007


"sjwopg" <sjwopg@discussions.microsoft.com> wrote in message
news:B7D55D7D-FDA2-4D22-9B1A-2D15AFA0F0F8@microsoft.com...
> Thanks to the both of you. I figured it was sort of dll reference issue.
> I'll
> check with my client's vendor about that.
>
> If the documentation is sketchy or better/worse yet unavailable, how can I
> find out the properties and methods of the dll?
>
>

Once the reference is set, you can look at the object model using the object
browser. Press F2 when in the VBA editor to take a look at the object
browser. There will almost certainly be some sample code provided. Look at
that and see how it is built.


--
Regards
Jonathan West - Word MVP
www.intelligentdocuments.co.uk
Please reply to the newsgroup



Re: Open and Save to iManage by sjwopg

sjwopg
Fri Aug 03 12:32:08 CDT 2007

Thanks again, Jonathon.

"Jonathan West" wrote:

>
> "sjwopg" <sjwopg@discussions.microsoft.com> wrote in message
> news:B7D55D7D-FDA2-4D22-9B1A-2D15AFA0F0F8@microsoft.com...
> > Thanks to the both of you. I figured it was sort of dll reference issue.
> > I'll
> > check with my client's vendor about that.
> >
> > If the documentation is sketchy or better/worse yet unavailable, how can I
> > find out the properties and methods of the dll?
> >
> >
>
> Once the reference is set, you can look at the object model using the object
> browser. Press F2 when in the VBA editor to take a look at the object
> browser. There will almost certainly be some sample code provided. Look at
> that and see how it is built.
>
>
> --
> Regards
> Jonathan West - Word MVP
> www.intelligentdocuments.co.uk
> Please reply to the newsgroup
>
>
>