Solved

VB4-16  - Manually register DAO2516

Posted on 1998-09-21
2
337 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

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

Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
This article describes how to use a set of graphical playing cards to create a Draw Poker game in Excel or VB6.
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…
Suggested Courses
Course of the Month10 days, 8 hours left to enroll

631 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