Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

VB4-16  - Manually register DAO2516

Posted on 1998-09-21
2
Medium Priority
?
352 Views
Last Modified: 2013-12-25
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?
0
Comment
Question by:peter_vc
2 Comments
 

Accepted Solution

by:
edjohn earned 150 total points
ID: 1496335
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
 
LVL 1

Author Comment

by:peter_vc
ID: 1496336
I was a little concerned at having to distribute yet another DLL, but it's only 5K so thats no big deal.

Thanks

0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Suggested Courses

824 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question