Community of VE/MapPoint Users and Developers
This is a discussion on Attaching Pictures to MapPoint Records within the MapPoint 2006/2009 Discussion forums, part of the Map Forums category; I have a sales database of 1,000 residential properties. Can someone please tell me if I can attach individual pictures ...
| |||||||
| Register | Blogs | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| |||
|
Hi, Code: Sub ImportCustomSymbol()
Dim objApp As New MapPoint.Application
Dim objMap As MapPoint.Map
Dim objPin As MapPoint.Pushpin
Dim objSymbol As MapPoint.Symbol
'Configure l'application
Set objMap = objApp.ActiveMap
objApp.Visible = True
objApp.UserControl = True
// If you have 1000 pictures named 0001.bmp to 1000.bmp
// while adding your pushpins you have to attach your pictures to the object pins created
// there is the sample code for the first picture
Set objPin = objMap.AddPushpin(objMap.FindResults("Seattle, WA")(1))
Set objSymbol = objMap.Symbols.Add(objApp.Path + "\Samples\0001.bmp")
objPin.Symbol = objSymbol.ID
End Sub
If you don't have 1000 pictures, you can add Text representing numbers ( 1 to 1000 ) in rectangle shapes. Hope this can help. You can find old posts concerning this topic in this forum. Just make a small search ! Regards |
| |||
|
Hi, Quote:
__________________ rgds, Wilfried Mestdagh www.mestdagh.biz MapPoint coding demo Order MapPoint 2009 with Routing and User Tools Spreadsheet |
![]() |
| Tags |
| attaching, mappoint, pictures, records |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Not all records import - please help! | bombria | MapPoint 2006/2009 Discussion | 2 | 03-28-2006 02:03 PM |
| How do you add records to a dataset | Anonymous | MapPoint 2006/2009 Discussion | 1 | 05-03-2005 04:09 PM |
| Unmatched records | fletch | MapPoint 2006/2009 Discussion | 0 | 03-09-2005 10:24 AM |
| Display Records that Mappoint Can't find | Anonymous | MapPoint 2006/2009 Discussion | 2 | 01-05-2004 11:20 AM |
| Limitations of 10,000 records with MapPoint 2002 (Trial) | Anonymous | MapPoint 2006/2009 Discussion | 1 | 01-05-2003 05:55 PM |