Runtime error 430 from RegExp

L

Lars Schouw

Hi,

I get a runtime error 430 when I run a VBA script that uses RegExp.

The error message is
"class does not support automation or does not support expected
interface"

and when I press debug I can see that it stops in the source code
line:
Dim regex As RegExp: Set regex = New RegExp

It works on another PC and I checked the reference to
Microsoft VBScript Regular Expression 5.5
both mine and the other machine has the same version of vbscript.dll.

I also tried to regsvr32 the file again, and check for missing
dependent .dlls in Dependency Walker.

What can I do to make this work, except from reinstall Windows XP?

Lars
 
L

Lars Schouw

I ended up replacing my vbscript.dll in c:\windows\system32 from a
machine where it was working, and it seems to function on my PC now.
Lars
 

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