Quantcast
Channel: MapWinGIS ActiveX Map and GIS Component
Viewing all articles
Browse latest Browse all 2341

Closed Unassigned: Detecting installation of MapWinGIS Control within application that uses it? [24917]

$
0
0
Hi,

I would like to be able to dynamically instantiate the MapWinGIS control in my project. Has anyone attempted this?

Details:

I cannot be certain that my end-users desktops have MapWinGIS control. I would like (in the same application that would use the MapWinGIS control) to:
-Programmatically detect whether MapWinGIS control is installed, AND
-If YES, then instantiate the control on my form
-If NO, then remove the control from my form (using panels and their control collection)

To date I have not been able to catch an exception that is thrown by the app (CLASS_NOT_REGISTERED), which I assumed would be the most elegant way to handle the absence of the MapWinGis.ocx library.

TIA
Comments: A solution was suggestion. Also it can hardly be called an issue in the first place, more like a question. Closed.

Viewing all articles
Browse latest Browse all 2341

Trending Articles