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
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