Register Activex Control from inside a Database

V

Victor Torres

Hi to all again, my question today is that I manage to create a Thinking bar
o a Waiting bar from a animated gif using the Gif98.dll. I'm using NSIS that
create a very nice Installer and I insert a code that register the .dll into
windows. But when I install the database into another computer and try to
open the database when the thinking bar suppose to appear it give me an error
that the .dll is not there. Is there anyway that I can register the .dll
from codes inside the database or by register the .dll to windows the form
suppose to work? Thanks to anyone that can help me with this.
 
V

Victor Torres

OK, I found out that NSIS didn't register the dll. I did it manually and
reopen the database and the animated gif appear. So the problem is with NSIS
and not with access...
thanks
 
J

Jack Leach

Try shelling out a cmd line to register the file


Shell "regsvr32.exe C:\Location\Gig98.dll"

if your path has any spaces, you will need to add the appropriate quotes:

Shell "regsvr32.exe ""C:\Your Location\Gif98.dll"""

(I'm pretty sure thats the right quoting...)

hth


--
Jack Leach
www.tristatemachine.com

"I haven''t failed, I''ve found ten thousand ways that don''t work."
-Thomas Edison (1847-1931)
 

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