I have a machine that I have Mappoint 2006 installed. I am trying to write an app in C# that will allow me to open Mappoint and add pushpins. I have done this in VB.NET 2005, but I am not sure where to begin with C#. Anyone help me with this? I do not want to use the Mappoint Control.
Thanks folks.
Current VB.NET code
VB Code:
Public Class Form1 Dim aMap As MapPoint.Application Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click If aMap.Application Is DBNull.Value Then aMap = CreateObject("mappoint.application") aMap.Visible = True aMap.UserControl = True aMap.NewMap() aMap.WindowState = GeoWindowState.geoWindowStateMaximize End If ...




Reply With Quote