button generates file not found vba6.dll error

D

dn

All:

Placed a button on an Access 2000 form (Win98 OS--I know, dinosaur...) that
when clicked generates a "file
not found vba6.dll" error message; looked in C:\Program
Files\Common Files\Microsoft Shared\VBA\VBA6\ and found VBE6.DLL. Don't have
install disks, software came with the computer.

Or is there a workaround?

Many TIA's...
 
6

'69 Camaro

Hi.

You may need to re-register the library. Click Windows Start, and then
click Run. To register the library located in the default installation
directory, use the following command (all one line):

Regsvr32.EXE "C:\Program Files\Common Files\Microsoft
Shared\VBA\VBA6\VBE6.DLL"

HTH.

Gunny

See http://www.QBuilt.com for all your database needs.
See http://www.Access.QBuilt.com for Microsoft Access tips.

(Please remove ZERO_SPAM from my reply E-mail address, so that a message
will be forwarded to me.)
 
D

dn

Thanks Gunny, I located the vba6.dll file--it was in another location--and
copied it into the default vba6 directory, can I/should I use this command
to register it?

TIA...
 
6

'69 Camaro

Hi.
I located the vba6.dll file--it was in another location

If this is the only vba6.dll file on the computer, then that other
location's path should be used in registering the DLL. (After all, that's
where the application was installed, unless someone has been fiddling with
the files and shouldn't have.) Replace <OtherLocation> in the syntax below
with the actual path before registering the DLL:

Regsvr32.EXE "<OtherLocation>\VBE6.DLL"

HTH.

Gunny

See http://www.QBuilt.com for all your database needs.
See http://www.Access.QBuilt.com for Microsoft Access tips.

(Please remove ZERO_SPAM from my reply E-mail address, so that a message
will be forwarded to me.)
 

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