MapPoint Forums

MapForums

Community of VE/MapPoint Users and Developers




GeoOneMinute in VB.net 2005 express

This is a discussion on GeoOneMinute in VB.net 2005 express within the MapPoint 2006/2009 Discussion forums, part of the Map Forums category; Hi, I'm, trying to create a DriveTimeZone with Visual-Basic 2005 Express with this codesample (MapPoint 2006 is installed and works): ...


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 (3) Thread Tools Display Modes
  3 links from elsewhere to this Post. Click to view. #1 (permalink)  
Old 12-14-2006
Junior Member
White Belt
 
Join Date: Dec 2006
Location: Cologne in Germany
Posts: 4
Question GeoOneMinute in VB.net 2005 express

Hi,

I'm, trying to create a DriveTimeZone with Visual-Basic 2005 Express with this codesample (MapPoint 2006 is installed and works):
...
Me.AxMappointControl1.ActiveMap.Shapes.AddDrivetimeZ one(objLoc, 5 * geoOneMinute)
...

warning-message: The Name "geoOneMinute" was not declared.

The Code doesn't work.
Is there somewhere who knows the reason? And what have I to do?
P.S. In VB 6.0 it works correctly.
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 12-14-2006
Senior Member
Black Belt
 
Join Date: Nov 2004
Posts: 2,105
Re: GeoOneMinute in VB.net 2005 express

Hi,

Probably some file not included. Dont search for it:

1 minute is: 1/1440
1 second is: 1/86400

So you can forget the geo* and now it is more easy

in your example it becaumes 5 / 1440
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3 (permalink)  
Old 12-15-2006
Junior Member
White Belt
 
Join Date: Dec 2006
Location: Cologne in Germany
Posts: 4
Re: GeoOneMinute in VB.net 2005 express

Hallo Wilfried,

this code works really good, thanks a lot for your help.

rgds, FreddyD
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
2005, express, geooneminute, vbnet


LinkBacks (?)
LinkBack to this Thread: http://www.mapforums.com/geooneminute-vb-net-2005-express-5489.html

Posted By For Type Date
Interview with Steve Lombardi - MapPoint Articles - MP2K Magazine This thread Refback 12-27-2006 06:38 PM
An API to Control MapPoint 2006 GPS Features - Part I of II - MapPoint Articles - MP2K Magazine This thread Refback 12-17-2006 05:16 PM
Programming MapPoint via .NET - MapPoint Articles - MP2K Magazine This thread Refback 12-14-2006 09:23 PM

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
help on converting vba code to visaul basic 2005 express nmilne MapPoint 2006/2009 Discussion 7 01-24-2007 01:16 PM
MapPoint 2005 mfritz MapPoint 2006/2009 Discussion 7 04-11-2005 06:58 PM
MapPoint 2005?? John Cassell MapPoint 2006/2009 Discussion 4 04-06-2005 05:09 AM
MapPoint 2005/6/7... Anonymous MapPoint 2006/2009 Discussion 1 09-07-2004 09:49 AM
Autoroute express tanguy_laverdure MapPoint 2006/2009 Discussion 0 04-16-2004 04:30 AM


All times are GMT -5. The time now is 06:32 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

Cheap Flights Turkey
Cheap flights to Turkey are a reality when you book online with Holiday Hypermarket. Discover Turkish delights with Turkish cheap flights.

Flights to Turkey
Find and book flights to Turkey. Travel Counsellors can help with travel to Turkey including flights and accommodation.

Cheap Flights to Cape Town
Here at dealchecker.co.uk we’ll shop around for cheap flights to Cape Town so you don’t have to. Find and Compare prices from over twenty UK travel agents with just one search.

Holidays to Barbados
Holidays to Barbados have so much to offer. Enjoy the beauty of this Caribbean island for less by booking your holiday through us.

Egypt
In Egypt you find an ancient city buzzing with life. There is an abundance of historical sites to see, not just the pyramids. The Opera House is certainly worth a visit and you can enjoy some open-air theatre too.

Compare Holidays
Compare holidays online where you can see all the amazing possibilities at Travel.co.uk

Cheap Holidays in Florida
Legendary weather! Visit On The Beach for info on cheap holidays in Florida.


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