Hi,
This will create a new activeX control:
Code:
AxMapPoint.AxMappointControl mp;
mp = new AxMapPoint.AxMappointControl();
Controls.Add(mp);
mp.Visible = false;
mp.OpenMap(fileName);
This will remove and destroy it. The mappoint.exe is removed in task manager:
Code:
Controls.Remove(mp);
mp.Dispose();