MapPoint Forums

MapForums

Community of VE/MapPoint Users and Developers




Why is PushPin.Note empty?

This is a discussion on Why is PushPin.Note empty? within the MapPoint 2006/2009 Discussion forums, part of the Map Forums category; Hi! Please, help me. I import simple file into Mappoint, file has two column, Zip and Sales. Code: Set objDataSet ...


Go Back   MapPoint Forums > Map Forums > MapPoint 2006/2009 Discussion

Register Blogs FAQ Members List Calendar Search Today's Posts Mark Forums Read



Click here to register

Reply

 

LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 10-25-2006
Junior Member
White Belt
 
Join Date: Oct 2006
Posts: 2
Why is PushPin.Note empty?

Hi!
Please, help me.

I import simple file into Mappoint, file has two column, Zip and Sales.

Code:
 Set objDataSet = ctrlMap.ActiveMap.DataSets.ImportData("d:\1.CSV", , 
 geoCountryUnitedStates) 
 Dim arArray 
 arArray = Array(objDataSet.Fields(1), objDataSet.Fields(2)) 
 objDataSet.SetFieldsVisibleInBalloon arArray
Import was successfully

I can see in balloon text two fileds! Zip and sales

BUT! When I try read balloon text programmatically in VB6, I receive
empty string.
Code:
Set objFindResult = 
 objLastDtlLoc.FindNearby(frmMapDetail.GetDistanceForSearch()) 
   If Not (objFindResult Is Nothing) Then 
     For Each objName In objFindResult 
       If TypeOf objName Is MapPoint.Pushpin Then 
         Set objPushPin = objName 
         sTxt = "Zip - " & objPushPin.Name & "Sales - " & 
 objPushPin.Note 
         frmInfoList.lstInfo.AddItem sTxt, 0 
       End If 
     Next 
   End If
objPushPin.Name is full
objPushPin.Note is empty

Thanks!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Tags
empty, pushpinnote


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
Size of pushpin's note Anonymous MapPoint 2006/2009 Discussion 5 03-15-2005 03:58 PM
the map is empty after Show/Hide form with MapPoint control Anonymous MapPoint 2006/2009 Discussion 1 03-25-2004 04:24 PM
Prevent user editing a note (Balloon) Anonymous MapPoint 2006/2009 Discussion 1 03-09-2004 02:26 PM
pushpin note question starbuck MapPoint 2006/2009 Discussion 4 12-03-2003 05:26 PM
set note read-only Anonymous MapPoint 2006/2009 Discussion 0 08-05-2003 10:50 AM


All times are GMT -5. The time now is 01:50 AM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0
MP2K Magazine
Visitor Map


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55