Discussion:
Running a VB6 program under Windows 7 XP Mode
(too old to reply)
Rotwatcher
2010-01-13 14:51:21 UTC
Permalink
Years ago I wrote a program in VB4 16-bit, which was later ported to
VB6. I've just had a request for support from a client who is trying
to run it under Windows 7 Professional with Virtual PC XP Mode, who
gets an error right from the get-go:

Runtime Error 91 Object Variable or With Block variable not set

The Error Log shows 3043,"Could not load VBA expression service
library."

I'm tempted to say that the proposed o/s isn't supported, but I don't
want to rain on his parade unnecessarily.

Thoughts?

Thanks

Edward
DickGrier
2010-01-13 17:36:59 UTC
Permalink
It sounds like the program calls a dll that hasn't been installed on the
target machine. Take a look at your code to see if there are any references
that might require that an external file be added (and, probably,
registered). There is a VBA Expressions Library that adds Regular
Expressions functions, non-Microsoft, I believe. This may the the one.

Dick
--
Richard Grier, Consultant, Hard & Software 12962 West Louisiana Avenue
Lakewood, CO 80228 303-986-2179 (voice) Homepage: www.hardandsoftware.net
Author of Visual Basic Programmer's Guide to Serial Communications, 4th
Edition ISBN 1-890422-28-2 (391 pages) published July 2004, Revised July
2006.
Nobody
2010-01-14 01:38:35 UTC
Permalink
Multiposted and answered in vb.general.discussion group.

Loading...