spacer1
spacer2 1_1 1_2
2_1
 Subscribe
 The MP2K Update!
 
 
 
 Magazine
Front Cover
What's New
Articles
News
Sample Data
Gallery
Advertise
About
 Features
MapPoint 2013
Press Releases
MapPoint Forums
Companies
Link to MP2Kmag
Wish List
MapPoint Trial
Authors
 Earlier Content
Past News Items
Past What's New Announcements
 Sponsors
 Order

MapPoint 2013

Programming MapPoint in .NET

MapPoint Book

  Spatial Community
SVG Tutorials
MapPoint

Map Visitors

  MAPPOINT Q & A  

Top | Post New Question | Read All | MP2K Asks Microsoft

448 jimk - October 22, 2001

Mappoint-Refresh linked data on a form load event without launching the link wizard? The Code sample you suggessted (that I read before asking) loads the wizard and promts the user for action. I don't want to shell to dos. Can this be done in VB seamlessly without the wizard, in processs, without shelling to dos?

Answer:

OK - I confused you. The sample from the MapPoint Help system includes a line that calls the Link Wizard - Set objDataSet = objApp.ActiveMap.DataSets.ShowLinkWizard().

If your file already includes a linked dataset called "customers", you can change this one line to Set objDataSet = objApp.ActiveMap.DataSets("customers") which should give you the silent refresh you are looking for. (You obviously don't need the MsgBox line either.)

Post New Answer / Follow-up


Google
 
MP2Kmag Internet


 Recent Discussion
 Resources


Want Your Site To Appear Here?

   © 1999-2012 MP2K. Questions and comments to: website@mp2kmag.com
  Microsoft and MapPoint 2002/2004/2006/2009/2010/2011/2013 are either trademarks or registered trademarks of Microsoft.