Community of VE/MapPoint Users and Developers
This is a discussion on Newbie Question - Importing XLS data within the MapPoint 2006/2009 Discussion forums, part of the Map Forums category; Hi, Newbie here. Are there any examples out there of importing XLS data into a VB mappoint App. All i ...
| |||||||
| Register | Blogs | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| |||
| Newbie Question - Importing XLS data Newbie here. Are there any examples out there of importing XLS data into a VB mappoint App. All i am trying to do is create an app with the VB control. When i click on a button it will load data (Postalcode and associated numeric data) and then display it on the map. I am having a hrad time getting this to work just from the help files. Does anyone have some sample code or a sample project they could share? Any help would be great!!! Thanks, Messier |
| |||
|
You can automate the import from excel procedure. If you are using vb.net you can try this. Create a button that fires this code: Code: Sub ImportFromExcel
'start new instance of mappoint
Dim objApp As New MapPoint.Application
Dim objDataSet As MapPoint.DataSet
'Set up the application
objApp.Visible = True
objApp.UserControl = True
'Let user create a data map
'This opens the import wizard.
'You can then choose an excel file.
objDataSet = objApp.ActiveMap.DataSets.ShowImportWizard()
'This just helps demonstrates the example
Dim oBox As MessageBox
oBox.Show("Quit", "Quit")
objApp.Quit()
End Sub
Hope this is of some use. |
![]() |
| Tags |
| data, importing, newbie, question, xls |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| GPS Newbie question | Anonymous | MapPoint 2006/2009 Discussion | 7 | 11-14-2007 02:32 AM |
| newbie question | xmikexx | MapPoint 2006/2009 Discussion | 2 | 11-06-2004 12:05 PM |
| MapPoint 2k4 Newbie question | Anonymous | MapPoint 2006/2009 Discussion | 1 | 08-05-2004 05:21 PM |
| Newbie question | Anonymous | MapPoint 2006/2009 Discussion | 1 | 05-28-2004 03:54 PM |
| GIS Newbie Question | topak2000 | MapPoint 2006/2009 Discussion | 1 | 09-15-2002 01:38 PM |