Connecting Tech Pros Worldwide Forums | Help | Site Map

Runtime Access problem

Peter Van Peborgh
Guest
 
Posts: n/a
#1: Nov 12 '05
OK. I created an Access app in MSAccess 2000. Works fine,
bug permitting! (8v>)> This app links to MS Word files
using bound objects. This is MS Word 2000 on this
development machine.

Runtimed the app out of Access XP to produce a CD to
install on other PCs. Where installed, it installs as 'MS
Access 2002 Runtime' under Windows 98 2nd Ed. This
machine has MS Word 97 on it.

When fired up, this runtime comes up with the following
error:

'Your ... database or project contains a missing or
broken reference to the file 'MSWORD9.OLB version 8.1'

How do I make my runtime work on any version of Windows
from 98 and Office from 95 or perhaps 97?

Many thanks.

--
|| | | | | | | | |
Peter Van Peborgh
88 Oakmount Rd
Chandlers Ford
Hampshire SO53 2LP
UK
petervp@ntlworld.com
+44 (0)23 8036 5413
|| | | | | | | | |



Rick Brandt
Guest
 
Posts: n/a
#2: Nov 12 '05

re: Runtime Access problem


"Peter Van Peborgh" <petervp@ntlworld.com> wrote in message
news:f%9vb.127$0r1.425067@newsfep1-win.server.ntli.net...[color=blue]
> OK. I created an Access app in MSAccess 2000. Works fine,
> bug permitting! (8v>)> This app links to MS Word files
> using bound objects. This is MS Word 2000 on this
> development machine.
>
> Runtimed the app out of Access XP to produce a CD to
> install on other PCs. Where installed, it installs as 'MS
> Access 2002 Runtime' under Windows 98 2nd Ed. This
> machine has MS Word 97 on it.
>
> When fired up, this runtime comes up with the following
> error:
>
> 'Your ... database or project contains a missing or
> broken reference to the file 'MSWORD9.OLB version 8.1'
>
> How do I make my runtime work on any version of Windows
> from 98 and Office from 95 or perhaps 97?[/color]

You have to use late binding instead of early binding. That allows you to
remove the reference to the Word object library entirely. As long as you
are not using any functionality in Word that is version specific, then your
code will work with all versions.


--
I don't check the Email account attached
to this message. Send instead to...
RBrandt at Hunter dot com


Closed Thread


Similar Microsoft Access / VBA bytes