?
Solved

Seemingly Insoluble Problem with MapPoint & MS-Access “Run-time error '429'  ActiveX component can't create object”

Posted on 2006-06-24
9
Medium Priority
?
829 Views
Last Modified: 2008-01-09
After days of searching the web including ‘Experts Exchange’ for a resolution to this problem I decided that I would have to post the question. Can anyone help?

I simply want to be able to use MapPoint from Access.

Reinstalled 3 times with absolutely nothing else running
and removing all traces that I could find of earlier installations

I've tried all the following to register MapPoint
MapPoint /regserver
MapPoint.exe /regserver
"E:\Program Files\Microsoft MapPoint Europe\MapPoint.exe" /regserver

References in Access:

Microsoft MapPoint 11.0 Object Library (Europe)
Microsoft MapPoint Control 11.0
Microsoft MapPoint Utilities 1.0 Type Library
(Will load either 1 of the top 2 and the third reference)

Tried the following

Sub Test()
IsProgInstalled ("Word")
IsProgInstalled ("Access")
IsProgInstalled ("Powerpoint")
IsProgInstalled ("Excel")
IsProgInstalled ("Outlook")
IsProgInstalled ("Infopath")
IsProgInstalled ("Mappoint")
IsProgInstalled ("Mappoint.eu")
IsProgInstalled ("Mappoint.eu.11")
Dim MPApp As MapPoint.Application
Set MPApp = GetObject(, "MapPoint.Application") 'Run-time error '429'  ActiveX component can't create object
End Sub

Function IsProgInstalled(StrProg As String) As Boolean
Dim obj As Object
On Error Resume Next
    Set obj = CreateObject(StrProg & ".Application")
    IsProgInstalled = (Err.Number = 0)
If IsProgInstalled Then
    Debug.Print StrProg & " is Installed"
Else
    Debug.Print StrProg & " is Not installed"
End If
End Function

Results from above

Word is Installed
Access is Installed
Powerpoint is Installed
Excel is Installed
Outlook is Installed
Infopath is Installed
Mappoint is Not installed
Mappoint.eu is Not installed
Mappoint.eu.11 is Not installed

Any ideas

Thanks

Peter
0
Comment
Question by:PeterRollinson
  • 4
  • 3
  • 2
9 Comments
 
LVL 34

Accepted Solution

by:
jefftwilley earned 1000 total points
ID: 16976466
might try getting rid of the comma

Set MPApp = GetObject("MapPoint.Application")
0
 
LVL 34

Expert Comment

by:jefftwilley
ID: 16976468
if GetObject doesn't work...you can try CreateObject
0
 

Author Comment

by:PeterRollinson
ID: 16976623
The comma was just another attempt, actually copied to one of the myriad of Microsoft site I have investigated.

Set MPApp = CreateObject("MapPoint.Application") ='Run-time error '429'  ActiveX component can't create object

I forgot to mention that icons have appeared in both Excel & word but don't appear to do anything apart from create errors:

WORD
This object was created in MapPoint
This application in not available to open this object.
Make sure the application is properly installed and that
it has not been deleted, moved, or renamed.

EXCEL
Just flashes a rectangle.
0
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

 
LVL 34

Expert Comment

by:jefftwilley
ID: 16976639
' Declarations
    Private oApp As MapPoint.Application
    Private WithEvents oMap As MapPoint.Map   ' With Events!


'  Sub to open MapPoint Map.
private sub OpenMap()

        sMePath = AppPath                                         ' Path to Symbols collection
        MapPath = AppPath & "\Templates\mri.ptm"    ' Customize for your system
        oApp = CreateObject("Mappoint.Application")
        oApp.Left = 10
        oApp.Top = 10
        oApp.Visible = True
        oApp.WindowState = MapPoint.GeoWindowState.geoWindowStateNormal
        oMap = oApp.OpenMap(MapPath)
End Sub
0
 
LVL 38

Assisted Solution

by:puppydogbuddy
puppydogbuddy earned 1000 total points
ID: 16977442
0
 

Author Comment

by:PeterRollinson
ID: 16977887
jeffwilley,

Private WithEvents oMap As MapPoint.Map   ' With Events!    Code is red
when trying to run OpenMap "WithEvents" Highlight and I get Compile error 'Only valid in Object Mode'

 'Path to Symbols collection ?????

puppydogbuddy,

Tried these to no avail.

What concerns me is that IsProgInstalled function shows MapPoint as not being installed.

I installed MapPoint on my Laptop and everything works as would be expected, works from Word, Excel and Access etc

On my development machine MapPoint works fine but does not seem to integrate with Office 2003.

I have re-installed MapPoint 3 times, Could it be the installation of Office or even worse the installation of Windows XP Professional!
0
 

Author Comment

by:PeterRollinson
ID: 16980027
No Nothing.

So I tried re-installing Office 2003 then MapPoint, No Luck
So I bite the Bullet and re-installed Windows XP, Office 2003, MapPoint and what seems like a thousand other programs :(

Hallelujah it worked; I can now us MapPoint from Access :)

Thanks anyway for the attempts.

Pity to waste points so I'll share them out.


All the best

Peter
0
 
LVL 34

Expert Comment

by:jefftwilley
ID: 16980373
It's a shame really when it turns out to be a Gates problem. Very glad you found a solution though...thanks for the poinks.
J
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

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

This article describes a method of delivering Word templates for use in merging Access data to Word documents, that requires no computer knowledge on the part of the recipient -- the templates are saved in table fields, and are extracted and install…
Explore the ways to Unlock VBA Project Password Excel 2010 & 2013 documents. Go through the article and perform the steps carefully to remove VBA Excel .xls file.
What’s inside an Access Desktop Database. Will look at the basic interface, Navigation Pane (Database Container), Tables, Queries, Forms, Report, Macro’s, and VBA code.
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …
Suggested Courses

850 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