Solved

VB4-16  - Manually register DAO2516

Posted on 1998-09-21
2
322 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 50 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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Introduction I needed to skip over some file processing within a For...Next loop in some old production code and wished that VB (classic) had a statement that would drop down to the end of the current iteration, bypassing the statements that were c…
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…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

808 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