I have included a reference to the Mappoint library in my project. I have
the following code in a button click and it errors saying that the Mappoint
activeX control cannot create the object. I am not using the ActiveX
control. What am I doing wrong?
Dim MPApp As New MPApp.Application
MPApp.Visible = True
MPApp.Quit
Set MPApp = Nothing