VB4-16 - Manually register DAO2516

I do not want to use the VB setup wizard to create my install sets, but I need to know how to register (under Win3.1 and 95) the DAO object.  REGSVR doesn't seem to work on DAO2516.DLL.  Any ideas?
LVL 1
peter_vcAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
edjohnConnect With a Mentor Commented:
This may work. Iit depends on why you are avoiding the setup wizard, since this is the same method the setup wizard uses.

The first line has to be in the declarations section and the other two in a function.

Ed

Private Declare Function DLLSelfRegister Lib "STKIT416.DLL" (ByVal lpDllName As String) As Integer

dim x

x = DLLSelfRegister("DAO2516.DLL")
0
 
peter_vcAuthor Commented:
I was a little concerned at having to distribute yet another DLL, but it's only 5K so thats no big deal.

Thanks

0
All Courses

From novice to tech pro — start learning today.