MapPoint Forums

MapForums

Community of VE/MapPoint Users and Developers




problems to load a card with visual c# 2005

This is a discussion on problems to load a card with visual c# 2005 within the Development forums, part of the MapPoint 2006/2009 Discussion category; hello i develop an aplication with visual c# 2005 using an API of mappoint 2006. When i load a card (...


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

Register Blogs FAQ Members List Calendar Search Today's Posts Mark Forums Read
  2 links from elsewhere to this Post. Click to view. #1 (permalink)  
Old 04-22-2008
Junior Member
White Belt
 
Join Date: Apr 2008
Posts: 11
Arrow problems to load a card with visual c# 2005

hello
i develop an aplication with visual c# 2005 using an API of mappoint 2006. When i load a card (of europe for my case ), i have the following problems :

System.runtime.interropservice.Comeexception s'est produite dans axinterrop.mappoint 2005
Information supplémentaires : le fichier que vous avez choisi n'est un pas un fichier mappoint 2005

in english : the file is not a mappoint 2005 map ????? strange

So i use the following code to load the map :

string objtemplate = "D:/bidule.ptt"; // just example
mappoint.map objMap = null;
axMappointcontrol1.NewMap(objtemplate);
objMap = axMappointControl1.ActiveMap;
objMap.MapStyle= MapPoint.GeoMapStyle.geoMapStyleData;


i used the good references of mappoint, i use the good map too (europe map, it's on the good path). Moreover i tested my code on an other computer, and it works .

I want to know, like i use an old version of excel if the probleme can becom of that ??

If someone can help me .

ps : sorry for my english, im french and english course are not the better in the world in france.



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 04-22-2008
Senior Member
Black Belt
 
Join Date: Nov 2004
Posts: 2,017
Re: problems to load a card with visual c# 2005

Hi,

Are you sure you don't mix the text in the exception? You use VS2005, but there is no Mappoint 2005. If not, what if you open the very same file in the executable mappoint ?
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 04-22-2008
Junior Member
White Belt
 
Join Date: Apr 2008
Posts: 11
Re: problems to load a card with visual c# 2005

hi,
yes, i use VS2005, and i know what there isn't a mappoint 2005 version, that's why it's strange ...
Moreover, i use the same map of mapPoint 2006, and it's a original CD. I installed a patch for SP1 VS2005 too.
i dont know where can becom the problem.
if you want a sreen of my exception? i can make one.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #4 (permalink)  
Old 04-24-2008
Senior Member
Black Belt
 
Join Date: Nov 2004
Posts: 2,017
Re: problems to load a card with visual c# 2005

Hi,

Even more strange
It works on another machine you say, so I should think there is something corrupt in the setup from mappoint on that particular machine. maybe cleanup and reinstall mappoint will help?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #5 (permalink)  
Old 04-25-2008
Junior Member
White Belt
 
Join Date: Apr 2008
Posts: 11
Re: problems to load a card with visual c# 2005

Hi,
Yes, i have already clean up my mapPoint directory, and desinstall it. I have desinstall VS2005 with all of these components like frame work, and install all.

i have always the same problem, the file is not a mapPoint 2005 map.

:s

so if you have an other idea ?


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #6 (permalink)  
Old 04-28-2008
Senior Member
Black Belt
 
Join Date: Nov 2004
Posts: 2,017
Re: problems to load a card with visual c# 2005

Hi,

I have no addtional idea at the moment. If you want I can try your application on my machine. If you like me to do so send it to my regular email address.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #7 (permalink)  
Old 04-30-2008
Junior Member
White Belt
 
Join Date: Apr 2008
Posts: 11
Re: problems to load a card with visual c# 2005

Hello,

I give up, i tested on an other pc, and my code works. perhaps the probleme is due to a wrong configuration ... i dont know .

So thank you very much for your answers Wilfried. I will post soon an other question . As the habit, i dont know if someone could help me.

Regards,
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


LinkBacks (?)
LinkBack to this Thread: http://www.mapforums.com/problems-load-card-visual-c-2005-a-7543.html

Posted By For Type Date
MapPoint Articles - MP2K Magazine This thread Refback 04-25-2008 10:14 AM
The Magazine for MapPoint - MP2K Magazine This thread Refback 04-22-2008 01:14 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
Map Point Location Server WSDL Errors in Visual Studio 2005 insanek MapPoint Web Service and Virtual Earth 0 03-01-2007 03:52 PM
MapPoint 2004 and Visual Studio 2005 Runtime error tizer001 MapPoint 2006/2009 Discussion 10 02-26-2006 09:51 AM
mappoint, visual c++ vs visual basic Anonymous MapPoint 2006/2009 Discussion 6 03-30-2004 09:17 PM
Matrox announces new Parhelia PCI 256 MB graphics card Anonymous News and Announcements 0 12-17-2003 02:43 PM
Visual basic or visual c++ in mappoint misterb83 MapPoint 2006/2009 Discussion 1 02-14-2003 08:31 AM


All times are GMT -5. The time now is 11:04 PM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5
MP2K Magazine
Visitor Map

Cheap Flights from Manchester
Book cheap flights from Manchester Airport from a range of Tour Operators and airlines. Holiday Hypermarket will help you jet off. Visit online to find useful airport information too.

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

Cuba Holidays
After years of neglect by the western world, Cuba is coming back onto the holiday scene. Cuba Holidays are a unique and enjoyable experience. Book at dealchecker.co.uk.

Jamaica Holidays
Jamaica holidays give you the chance to enjoy the vibrant cultural heritage and wonderful laid back atmosphere of the Caribbean. Book here!

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.

All inclusive holidays
To plan all inclusive holidays, use Travel.co.uk to explore all the possibilities.

Cheap Holidays in Goa
Visit the unique blend of east and west in India! Get information on cheap holidays in Goa, only at On The Beach.


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