T
thierry
Hello,
I try tu use MapPoint but prior to begin to use it I would like to
test if it is present on the computer running my code. So After going
around a little I actually code like
MapPoint.ApplicationClass mpac = null;
try {
mpac = new MapPoint.ApplicationClass();
} catch ( System.Exception ex ) {
System.Windows.Forms.MessageBox.Show("Microsoft MapPoint ou un de
ses composants n'a pas été trouvé sur ce poste.\n" + ex.Message );
}
But I'm quite sure there is a more elegant way (without exception for
example)
thank you in advance
thierry
I try tu use MapPoint but prior to begin to use it I would like to
test if it is present on the computer running my code. So After going
around a little I actually code like
MapPoint.ApplicationClass mpac = null;
try {
mpac = new MapPoint.ApplicationClass();
} catch ( System.Exception ex ) {
System.Windows.Forms.MessageBox.Show("Microsoft MapPoint ou un de
ses composants n'a pas été trouvé sur ce poste.\n" + ex.Message );
}
But I'm quite sure there is a more elegant way (without exception for
example)
thank you in advance
thierry