Re: fixing mappoint registry entries? by jim
jim
Fri Jun 09 18:23:26 CDT 2006
if found some code in a search leading me to believe this is the unregister
syntax.
regsvr32 /u "E:\program files\Microsoft MapPoint\mappointcontrol.ocx"
i must've run in 50 times, and everytime it says ok it succeeded in
unregistering. is it possible it is really registered that many times, plus
more?
is there some way (other than by the above code) to tell if an item is
registered? like looking someplace in the registry or one of the xp admin
tools?
thanks.
jim
"Imaginecorp" <imaginecorp@msn.com> wrote in message
news:OJdiuu2iGHA.4284@TK2MSFTNGP05.phx.gbl...
> Hello Jim:
> We use the mappointcontrol.ocx in our applications for directions and
> calculating chargeable mileage. Have been for a few years now. It works
> perfect.
> Having said that:
> The ocx will not work in a distributed app if a license is not bought from
> Microsoft. The user machines, if the whole Mappoint app is NOT installed,
> will need licenses.
> I have also found when reinstalling, you have to manually un-register the
> ocx, every instance of it. Then re-register. Also be aware, during
> registration, even if it fails to register, keep trying to Un-register it
> until you get a message it cant be found.
> The above may or may not fix your problem, it is what we have experienced.
> Good Luck
> Mohammed
> www.imaginecorp.com/whatwedo.htm
>
>
>
> "jim sturtz" <jim@sturtzs.com> wrote in message
> news:%23JCN9OoiGHA.4660@TK2MSFTNGP03.phx.gbl...
> > we have an app that used to call mappoint.application to (using mappoint
> > 2004 vfp9) for doing some mileage calcs. it was rewritten to use the
> > mappointcontrol.ocx. it USED to work on my machine. during some
testing
> > the mappoint quit working (turned out to be our code) and we tried
> > uninstalling/reinstalling mappoint. which proceeded to break using
> > mappoint
> > with old, new and inprocess program.
> >
> > we setup a new machine with vfp and mappoint and the code works now.
> >
> > my machine however is not working. i have reinstalled or repaired vfp,
> > mappoint and office, w/o much luck. i started comparing registry
entries
> > between the new machine that works & mine. by exporting some mappoint
> > related items i succeeded in getting the calls to mappoint.application
in
> > the older code to work. however, .reg imports related to
mappoint.control
> > and not doing the job yet. it appears that something is really fubared
in
> > the registry. i have 'registered' the .ocx with regsrv32 with no
problem,
> > but whenever our code tries to call the mappoint.control and setup the
> > object to be used i get 'unknown member oMap'. it is failing to find
(we
> > presume) the control.
> >
> > any thoughts on how to trackdown the wayward registry entries or reg
entry
> > with perhaps wrong info would be appreciated.
> >
> > thanks.
> >
> > jim
> >
> >
>
>