Home > Archive > Visual Basic > May 2004 > Re: regsvr32 newly installed dll one time only, programatically, standard approach is
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Re: regsvr32 newly installed dll one time only, programatically, standard approach is
|
|
| Schmidt 2004-05-29, 10:30 am |
|
"mscir" <mscir@fake.zzz> schrieb im Newsbeitrag
news:10bgad5fgrpvd87@corp.supernews.com...
> I am thinking of using a dll that needs to be registered. I don't see
> any way to do this during the install process, so I was wondering what
> the standard procedure is for registering a DLL one time. The only thing
> that's occurred to me so far is that I watch for an error when I try to
> create an object using the DLL, and if I get one, to regsvr32 it at that
> time from VB. Is that the best approach?
No, because you cannot register "on the fly" if you're running under an
account, that hasn't the rights to access/WriteTo the registry.
Instead you can instantiate and use COM-Objects without prior registering.
Here's a link to our free helper-tools (AXDlls and Ocx):
www.datenhaus.de/Downloads/dh_DirectCOM.zip
and here, how you can implement this (for AXDLLs) yourself:
http://groups.google.de/groups?q=vb+sss+classexists+asm
Olaf
| |
|
| That's a HORRIBLE hack!
"Schmidt" <sss@online.de> wrote in message
news:u%23$ZO3XREHA.1388@TK2MSFTNGP09.phx.gbl...
>
> "mscir" <mscir@fake.zzz> schrieb im Newsbeitrag
> news:10bgad5fgrpvd87@corp.supernews.com...
>
>
> No, because you cannot register "on the fly" if you're running under an
> account, that hasn't the rights to access/WriteTo the registry.
> Instead you can instantiate and use COM-Objects without prior registering.
> Here's a link to our free helper-tools (AXDlls and Ocx):
> www.datenhaus.de/Downloads/dh_DirectCOM.zip
>
> and here, how you can implement this (for AXDLLs) yourself:
> http://groups.google.de/groups?q=vb+sss+classexists+asm
>
> Olaf
>
>
| |
| Schmidt 2004-05-31, 4:30 pm |
|
"B0nj" <b1234@nj> schrieb im Newsbeitrag
news:uvgJClvREHA.3716@TK2MSFTNGP09.phx.gbl...
> That's a HORRIBLE hack!
"B0nj", not everything that you don't understand is a hack. ;-)
Olaf
|
|
|
|
|