ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

MapPoint Control 11 in Labview Container = Control could not be loaded

I am working with Labview 6.1 to create an application using a "Microsoft MapPoint Control 11.0" ActiveX component. When I first create a container for it, I can insert the component and it will load and operate correctly. However, after closing the vi and reopening it, the container says "Control could not be loaded", and I need to re-insert the object to get it to work each time. I will need to compile and run this at some point, so I need to fix this problem or ditch Labview now. I have tried reinstalling Labview runtime and the MapPoint Application, but this does not fix the problem. Working with MapPoint as an automation object (without a container) seems to work ok, but I need interactive control through the container. Any suggestions?
0 Kudos
Message 1 of 7
(4,019 Views)
I've never used MapPoint before, but in case it does not work properly with labview, then give the MapOCX from undertow software a try.

-Joe
0 Kudos
Message 2 of 7
(4,012 Views)
Joe--

Thanks for the suggestion. I'd rather stick with MapPoint, but may end up needing an alternative. Do you know if MapOCX plays nice with Labview, v.6.1 in particular?

--Brent
0 Kudos
Message 3 of 7
(4,008 Views)
It worked fine for me when I used labview 6.1.

-Joe
0 Kudos
Message 4 of 7
(4,004 Views)
Hi,

Have you tried registering the ActiveX control(*.ocx) by using regsvr32 ?

Ankita
0 Kudos
Message 5 of 7
(3,992 Views)
Ankita--

Yup. Tried that one, as a search of the NI site comes up with reinstall and register as the only solutions for "control could not be loaded" errors ... but it didn't make a difference for me...

Odd to think that it can run fine right after the control is loaded, but after save/close/reopen, it's not working... hmmm.

--Brent
0 Kudos
Message 6 of 7
(3,986 Views)
try enabling the design mode after inserting the activex, right click on the control and check Advanced >> Design mode.

Joe
0 Kudos
Message 7 of 7
(3,982 Views)