Quantcast
Viewing all articles
Browse latest Browse all 2341

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

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

Viewing all articles
Browse latest Browse all 2341

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>