VBA code that works in Word2K refuses in Word2K3

R

Rvo

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
 
C

Cindy M -WordMVP-

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 :)
 

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