• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1055
  • Last Modified:

Run Time error 429

I am running Windows 7 professional with MS Office 2010 professional including Access 2010.
I have a VB6 program that runs prefectly well in Win XP but now does not run properly in Win 7.
When I go to launch a MS access database from this program I get "Run time Error 429 ActiveX component can't create object" message. I have reinstalled office and access. I have re-registered all of my component used by the program.

I have now run out of ideas. Any suggestions and or solutions would be gratefully appreicated.

regards
Paul
0
PaulSpud
Asked:
PaulSpud
  • 5
  • 3
1 Solution
 
PaulSpudAuthor Commented:
Thanks for that. Its a possible options but on a 50+ PC network, launching programs from the desktop, I feel in need if possible a simplier solution.
0
 
PaulSpudAuthor Commented:
Set out below is the code where the error is occuring! Error is on the Bold unlined line.
Any help would be grarefully accepted.

Public Sub LaunchAccessMacro(ByVal MacroName As String, Optional ByVal FilePath As String)
    LoadNewFrontEnd

    If FilePath = "" Then

        FilePath = GetDefaultValue("FNTEND")
    End If

    If Not FileExists(FilePath) Then Err.Raise 123, , "File could not be found at: " & FilePath

    If frmMain.m_DBLauncher Is Nothing Then
     
        Set frmMain.m_DBLauncher = CreateObject("DatabaseLauncher.AccessFrontEnd")
        frmMain.m_DBLauncher.DatabasePath = FilePath

    End If
   
    frmMain.m_DBLauncher.RunMacro MacroName

End Sub
0
Get your Conversational Ransomware Defense e‑book

This e-book gives you an insight into the ransomware threat and reviews the fundamentals of top-notch ransomware preparedness and recovery. To help you protect yourself and your organization. The initial infection may be inevitable, so the best protection is to be fully prepared.

 
judgekingCommented:
I'm currently having the same problem, if I find the solution, I'll post it here.
0
 
judgekingCommented:
Did you try running the VB app 'as administrator'?  (right-click shortcut -> run as administrator)

Failing that, there's a 32-bit version of regsvr32.exe (and many others) in the folder C:\Windows\SysWOW64.  Try registering your objects with that version of regsvr32 explicitly (ie: C:\Windows\SysWOW64\regsvr32.exe MyObject.dll)

0
 
PaulSpudAuthor Commented:
Yes I did but it did not change the error.

I will try the re-register process and post the results.
0
 
judgekingCommented:
Any update?
0
 
PaulSpudAuthor Commented:
Re-registering process did not change any of the error message. I think it will be quicker to rewrite the rountines than try to resolve the error.
0
 
PaulSpudAuthor Commented:
No solution was found. The program was rewritten to allow the process to move forward.
0

Featured Post

NFR key for Veeam Agent for Linux

Veeam is happy to provide a free NFR license for one year.  It allows for the non‑production use and valid for five workstations and two servers. Veeam Agent for Linux is a simple backup tool for your Linux installations, both on‑premises and in the public cloud.

  • 5
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now