MapPoint Forums

MapForums

Community of VE/MapPoint Users and Developers




ImportData method ?

This is a discussion on ImportData method ? within the MapPoint 2006/2009 Discussion forums, part of the Map Forums category; Hi All, I'm trying to figure out why I am suddenly having an issue with the MapPoint ImportData method. I'm ...


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

Register Blogs FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 06-02-2005
Junior Member
White Belt
 
Join Date: Jun 2005
Posts: 2
ImportData method ?

Hi All,

I'm trying to figure out why I am suddenly having an issue with the MapPoint ImportData method. I'm currently importing a tab delimited file (it was working in the previous version of my program) and for some reason the method is now giving me the following error...

"No matching method defined for these fields"

I re-ran the previous version of the program and the pushpin map is still working, no errors are being thrown. So I tried the following...

1)I stopped the current version of my program right before the ImportData method is called

2)I renamed the import file about to be imported to filename.old and then took the import file that was created by the old version of the program (the one that opened up a pushpin map without any errors) and gave it the name of the file I just renamed to filename.old.

3)I hit F5 to continue the program and the map displayed without any errors pushpins and all.

Sooo this led me to think the file that causes errors has some formatting issues. So I tried this next.

1)I stopped my program right before the ImportData method is called

2)I opened the import file that causes problems and the import file that works and copied the data from the working file to the file that causes errors. Basically CTRL + A... CTRL + C... CTRL + A... CTRL + V and presto working data overwrited non-working data.

3)I hit F5 and the "No matching method..." error was thrown.

Now I find this odd because when I renamed the working import file to the same name as the error import file the map and pushpins showed up fine but when I replaced the data in the error import file with the data from the working import file I still get an error.

Does anyone have any ideas? Did I explain this well enough?

Thanks in advance for any help.

Mike Gorgone
m_gorgone@hotmail.com
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-02-2005
Senior Member
Black Belt
 
Join Date: Nov 2004
Posts: 2,055
Hi Mike,

Are you very sure of the delimiters? also the EOL delimiters ? Also the decimal separateor did not change ? Nothing changed in locales of machine ?
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 06-02-2005
Junior Member
White Belt
 
Join Date: Jun 2005
Posts: 2
Hi Wilfred,

I think I've narrowed it down. It appears that a backend class written by our controls department may have changed how it creates the tab delimited file. If I open the old input file in Ultra Edit the file looks fine but if I open the new file it opens it in Hex and if I turn off the Hex view the file looks kind of screwy so I'm going to have to find out if they've changed anything.

Thanks for the response.

Mike
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


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
c# ImportData method help needed fletch MapPoint 2006/2009 Discussion 8 03-09-2005 09:15 AM
import query with importdata method in VB.net Anonymous MapPoint 2006/2009 Discussion 3 01-20-2004 10:30 AM
Get an error 4055 by using method ImportData Anonymous MapPoint 2006/2009 Discussion 1 12-21-2003 12:27 PM
ImportData method doesn't function Val MapPoint 2006/2009 Discussion 3 12-01-2003 09:27 AM
How ImportData method with "Password-protected" a rrosenhagen MapPoint 2006/2009 Discussion 0 12-10-2002 03:13 PM


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


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

Ski Holidays French Alps
Ski holidays in the French Alps are a unique and exciting experience. There are a great range of resorts which are great value when you book with Holiday Hypermarket online.

Spain Weather
Check Spain Weather before you travel. We provide information on Spain including weather, flights and accommodation.

Holidays Thailand
Holidays in Thailand are hugely diverse with wonderful luxury resorts and beaches but also some lovely forested mountains with interesting hill tribes. See dealchecker.co.uk.

Cyprus Holidays
Cyprus holidays will offer you a wealth of activities all in the most beautiful surroundings. Relish the beauty of Cyprus on a short break.

Tunisia
Tunisia enjoys excellent weather, golden beaches and a beautiful blue sea. Moving away from the beach you will find a country that has a rich and varied past. Discover the secrets of history yourself by exploring all the ruins.

Cheap package holidays
Use Travel.co.uk to find the best cheap package holidays available. Have fun and save money at the same time

Holidays in Goa
Want to know more about Indian culture? Visit On The Beach for information on holidays in Goa.


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