|
-
Sep 23rd, 2002, 03:44 AM
#1
Thread Starter
Junior Member
Problem with MS Word object in VB
I have a problem with using MS Word object
in my VB codes. The codes are simple:
> Dim WordApp As Word.Application
> Set WordApp = CreateObject("Word.Application")
But I suddenly got an error message when executing
this statement:
> Run-time error '-2147024770(8007007e)':
> Automation error
> The specified module could not be found.
Actually it was working fine before. It is also
strange since there is no problem if I run
the same codes in another PC. So I guess some
OLB/DLL files are corrupted. I tried to update the
MSWORD9.OLB file in my PC, but the problem was
still there.
What could be going wrong? TIA.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|