I am trying to port old code (originally made for Word 97 but working in
WOrd 2000) to Word 2003.

I'm seeing a few problems here though.
when I try to execute the follwing instructions in VBA I get an unknown
error (err.number has a value of -2147319779)

dim ses as object
ses = CreateObject("OracleInProcServer.XOraSession")

On the machine (running Win2K SP4) All needed Oracle components are
installed to allow this instruction to work fine in Word 2000.

Did anyone come across this problem? How can I work around this?

Kind regards,

Romain Voes

Re: VBA code that works in Word2K refuses in Word2K3 by Cindy

Cindy
Mon Aug 23 12:10:32 CDT 2004

Hi Rvo,

It sounds to me as if the project doesn't have a valid reference to
OracleInProcServer, or that this is not correctly registered in Windows.

Place to start would be in the Word VBEditor, Tools/References.

> I am trying to port old code (originally made for Word 97 but working in
> WOrd 2000) to Word 2003.
>
> I'm seeing a few problems here though.
> when I try to execute the follwing instructions in VBA I get an unknown
> error (err.number has a value of -2147319779)
>
> dim ses as object
> ses = CreateObject("OracleInProcServer.XOraSession")
>
> On the machine (running Win2K SP4) All needed Oracle components are
> installed to allow this instruction to work fine in Word 2000.
>

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 8 2004)
http://www.word.mvps.org

This reply is posted in the Newsgroup; please post any follow question or
reply in the newsgroup and not by e-mail :-)