Hi,
While this is possible as shown by other replies, surely a better approach
would be to use an installation program to install your program on another
computer.
"Inno Setup", which is free, powerful, extremely well supported, and very
easy to use can readily register your DLLs as part of the installation
process.
Watch word wrap on the following sample line which copies a file to the
Windows System32 directory and registers it
Source: "C:\Installation\_General Install Items\Msflxgrd.ocx"; DestDir:
"{sys}"; Flags: RegServer
If you can program in Delphi, then you can do literally anything with Inno
Setup.
I don't have them here, but the Inno Setup.Code Newsgroup has code supplied
to me to locate Autodesk products in the registry enabling me to
Automatically install the correct DVBs depending on the installed Autodesk
software. This makes for very clean installations.
--
Laurie Comerford
CADApps
www.cadapps.com.au
"HJohn" wrote in message
news:29641472.1089064858144.JavaMail.jive@jiveforum2.autodesk.com...
> Is it possible to register a DLL from VBA code? David Stein shows how to
do in lisp on the Visual Lisp Bible, is there a vba sample? Thanks.