I am writing an app in VB6 which uses Mappoint 2002. I have a SQL Server back-end database with a table called "tbl_Test" which contains some location data I want to visualize on a map.
Everything works fine except for the LinkData method of the DataSets object.
Can somebody post an example whichs shows how I van link the data.
My code is posted below:
Dim myDataSet As MapPointCtl.DataSet
Set myDataSet = ctrlMappoint.ActiveMap.DataSets.LinkData("File Name=" & App.Path & "\data\someapp.udl!tbl_Test", "ID", , geoCountryBelgium)