Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

How can I register a VB self-registering dll

3 views
Skip to first unread message

Rachel M.

unread,
Jul 12, 2000, 3:00:00 AM7/12/00
to
Hi,

How can I register a VB self-registering dll using the scripting? In this
scenario, the dll exists somewhere else on a network computer. So, when the
clients are doing a 'network' install, no files are copied-since the files
exist on the network pc. However, the dlls need to be registered, on each
workstation. For VC dll it's simply calling 'DllRegisterServer.', but how do
you do VB dll registering?

TIA,
Rachel

Mickey Ferguson

unread,
Jul 14, 2000, 3:00:00 AM7/14/00
to
Rachel M. <rac...@wsg.com> wrote in message
news:396c9...@208.30.171.38...

If you haven't already gotten an answer, you can just use Regsvr32.exe, a
utility which will normally reside in either the Windows or Windows\System32
directory (can't remember which, but nevertheless, in a directory found on
the system path so you don't have to specify where). Just use a
LaunchAppAndWait("regsvr32.exe", szFile) (where szFile is the fully
qualified path to your dll on a network drive) and you should be good. You
will probably want to change that to LaunchAppAndWait("regsvr32.exe", "/s "
+ szFile) if you want it to register it silently and not require the user to
have to click on 'OK'.

0 new messages