MapPoint Forums

MapForums

Community of MapPoint and Virtual Earth Users and Developers




Using the Map Point API from VB I sometimes get th....

This is a discussion on Using the Map Point API from VB I sometimes get th.... within the MapPoint 2006/2009 Discussion forums, part of the Map Forums category; Using the Map Point API from VB I sometimes get the following error message: "The file name is too long. ...


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

Today's Posts Twitter Feed 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 09-05-2001
Senior Member
Black Belt
 
Join Date: Jul 2002
Posts: 5,138
Using the Map Point API from VB I sometimes get the following error message: "The file name is too long. Enter a shorter file name, and try again." when calling MapPoint.SavedWebPage.Save(). This happens even though it created the file.

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
  #2 (permalink)  
Old 09-05-2001
Senior Member
Black Belt
 
Join Date: Jul 2002
Posts: 5,138
There is a maximum length of 260 characters for the combination of path, filename and extension when using MapPoint.SavedWebPage.Save(). In your case, some files are probably under that limit (so they are created) while others aren't (causing the error to appear). Path names are usually the main culprits, but you'll also notice that MapPoint automatically generates a folder and puts some additional files into it with standard filenames, so you can actually hit this 260 character limit for some of the supporting files quite easily.
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
api, map, point


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
Get direction from point a to point b??? jonknapek MapPoint 2006/2009 Discussion 7 07-09-2005 04:33 PM
Map Point Point Of Interest Anonymous MapPoint Web Service and Virtual Earth 1 02-14-2005 08:19 AM
How can I find nearest point on a road from a point off-road Anonymous MapPoint 2006/2009 Discussion 1 11-12-2002 06:14 AM


All times are GMT -5. The time now is 02:22 AM.


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

Luxor Holiday
Book your Luxor holiday through UlookUbook and visit this destination stooped in history.



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 56 57 58 59