MapPoint Forums

MapForums

Community of VE/MapPoint Users and Developers




Set Dataset pushpin before calling ImportData

This is a discussion on Set Dataset pushpin before calling ImportData within the MapPoint 2006/2009 Discussion forums, part of the Map Forums category; Hello peoples, I am using VB6 and MP 2k6 When I assign my DataSet object - such as Set oDS ...


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 (1) Thread Tools Display Modes
  1 links from elsewhere to this Post. Click to view. #1 (permalink)  
Old 06-25-2008
Member
Yellow Belt
 
Join Date: Feb 2005
Posts: 48
Set Dataset pushpin before calling ImportData

Hello peoples,

I am using VB6 and MP 2k6

When I assign my DataSet object - such as

Set oDS = MapPointControl1.ActiveMap.DataSets.ImportData(App .Path & etc ...

the Default pushpin symbol is used

I THEN set my oDS.Symbol = my_symbol_of_choice_here

works fine

BUT - there is an instant when the final dataset is plotted using the generic/default pushpin symbol.

I set my DS - or instantiate it on the ImportData method call.

so prior to this, it's not able to have the symbol property set, as it's not instantiated yet.

Any clues on how to let MP to know to use my .symbol assignment BEFORE it plots them ? to prevent that 1 or 2 seconds where they show as the default pushpin symbol ?

Thanks in advance for any insights.

Tim Miltz
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #2 (permalink)  
Old 06-26-2008
Senior Member
Black Belt
 
Join Date: Nov 2004
Posts: 2,122
Re: Set Dataset pushpin before calling ImportData

Hi,

Instead of importing the whole set you could do it in smaller portions, or even one by one, then you can immediatily change the symbol
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
calling, dataset, importdata, pushpin, set


LinkBacks (?)
LinkBack to this Thread: http://www.mapforums.com/set-dataset-pushpin-before-calling-importdata-7940.html

Posted By For Type Date
"Excel Basics to Blackbelt": A Reference Text for MapPoint Integration - MapPoint Articles - MP2K Magazine This thread Refback 06-29-2008 09:13 AM

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
calling ImportData from C++ Pit Mueller MapPoint 2006/2009 Discussion 3 01-03-2008 03:08 AM
How to Import a .Net DataSet using ImportData! Anonymous MapPoint 2006/2009 Discussion 3 10-16-2007 08:27 AM
PushPin dataset is saved in .ptm? PeppeM MapPoint 2006/2009 Discussion 1 05-06-2006 01:53 PM
ImportData - DataSet - Mixed Postcodes - Failure findtarun MapPoint 2006/2009 Discussion 0 08-02-2005 10:53 AM
Problems with Pushpin dataset Sylvain MapPoint 2006/2009 Discussion 13 11-28-2002 08:08 AM


All times are GMT -5. The time now is 07:05 PM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, 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