Results 1 to 8 of 8

Thread: How to Register a DAO350.dll file

  1. #1

    Thread Starter
    New Member
    Join Date
    Jan 2002
    Location
    Ontario, Canada
    Posts
    9

    How to Register a DAO350.dll file

    I made a program about 10 years ago with VB5, and Office 97 and have been away from it for years.

    When trying to install the program into a new computer I am getting "unable to register DAO350.dll file"

    How do I go about registring this file. I have a copy of it on another computer.

    Thanks,
    Gordon

  2. #2
    Hyperactive Member
    Join Date
    Dec 2013
    Posts
    330

    Re: How to Register a DAO350.dll file

    1.) If 64-bit os, copy .dll to C:\Windows\SysWoW64
    2.) Click the Windows 7 start button and in the Search area, type "command"
    3.) The search will bring up a number of items, including "Command Prompt" at the top
    4.) Right click the "Command Prompt" banner, and select "Run as Administrator"
    5.) At the command prompt, enter: %systemroot%\SysWoW64\regsvr32.exe DAO350.dll
    This should successfully register your DAO350.dll

  3. #3
    PowerPoster
    Join Date
    Feb 2006
    Posts
    24,482

    Re: How to Register a DAO350.dll file

    VB5 and DAO 3.5 have not been supported for many years. Such programs should have been updated to VB6 and DAO 3.6 or ADO 15 years ago.

  4. #4
    PowerPoster Keithuk's Avatar
    Join Date
    Jan 2004
    Location
    Staffordshire, England
    Posts
    2,238

    Re: How to Register a DAO350.dll file

    I use ActiveX Manager v1.4 for many years which isn't generally available anymore unless you want a link of mine to download. This will register any ocx or dll at any location by just double clicking it. It works on Win9x/ME/WinXP/Vista/Win7 32bit it doesn't work on Win8 64bit you have to do the same as Coding has suggested with Command Prompt run as Administrator.

    I've just tried it on C:\Program Files\Common Files\microsoft shared\DAO\DAO350.DLL and it still works. You can unregister an ocx or dll by right clicking and select Unregister DLL Server.
    Keith

    I've been programming with VB for 25 years. Started with VB4 16bit Pro, VB5 Pro, VB6 Pro/Enterprise and now VB3 Pro. But I'm no expert, I'm still learning.

  5. #5
    PowerPoster
    Join Date
    Feb 2006
    Posts
    24,482

    Re: How to Register a DAO350.dll file

    Of course hacker tools like that fail to properly deal with library usage counter information and lead to DLL Hell.

    Even though explicitly not supported, DAO 3.5 is still being successfully used on recent versions of Windows by people posting here. As always, the trick is to use a proper installer.

    Ideally you'd create a Windows Installer database (.MSI file0 using a DAO 3.5 Merge Module. Microsoft never released one, since DAO 3.5 was obsolete before Installer itself was mature though. You'd have to hunt for a 3rd-party-built Merge Module, for example the one at Windows Installer Merge Modules, about 2/3 of the way down the page.

    It may also require Jet 3.5 in order to work.

  6. #6
    gibra
    Guest

    Re: How to Register a DAO350.dll file

    I agree with dilettante.

    See the Unsupported, But Supported and Compatible Updates or Upgrades are Available section
    on this page:
    Support Statement for Visual Basic 6.0 on Windows Vista, Windows Server 2008, Windows 7, and Windows 8

    http://msdn.microsoft.com/en-us/vstudio//ms788708.aspx


  7. #7

    Thread Starter
    New Member
    Join Date
    Jan 2002
    Location
    Ontario, Canada
    Posts
    9

    Re: How to Register a DAO350.dll file

    Thanks for all the replies....My program is available for download on the internet for the past 10 years. This is the first time someone has contacted me with this problem. I have installed it on Windows 7 and Vista with no problems. I'm not sure what version the person is using.

    I suppose I could send him the DAO3.5 file, have him put it into the proper folder, and hopefully he could find someone to be able to register the file.

    Strange that this has not happened anytime else in the past 10 years.

    I have been away from VB5 and programming for about 10 years, and don't want to get into any more programming......(it made my head spin)

    --
    Gordon

  8. #8
    New Member
    Join Date
    Feb 2012
    Location
    SK, Canada
    Posts
    10

    Re: How to Register a DAO350.dll file

    Try this link http://support.microsoft.com/kb/240377. Look under the topics "Data Access Objects (DAO)", "Core Jet Files", and "Jet Dependencies".
    Here is an example of a section of a Inno Setup script that will install DAO3.5:

    ; Begin VB6 Jet35
    Source: mysourcefolder\expsrv.dll; DestDir: {sys}
    Source: mysourcefolder\msjet35.dll; DestDir: {sys}; Flags: regserver
    Source: mysourcefolder\msjter35.dll; DestDir: {sys}
    Source: mysourcefolder\msrd2x35.dll; DestDir: {sys}; Flags: regserver
    Source: mysourcefolder\msrepl35.dll; DestDir: {sys}
    Source: mysourcefolder\vb5db.dll; DestDir: {sys}; Flags: sharedfile
    Source: mysourcefolder\vbajet32.dll; DestDir: {sys}
    ; End VB6 Jet35

    ; Begin Other
    Source: mysourcefolder\msvcrt.dll; DestDir: {sys}; OnlyBelowVersion: 0,6; Flags: restartreplace uninsneveruninstall sharedfile
    Source: mysourcefolder\Dao350.dll; DestDir: {dao}; Flags: regserver sharedfile
    Source: mysourcefolder\Msjint35.dll; DestDir: {sys}
    ; End Other

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width