MapPoint Forums

MapForums

Community of VE/MapPoint Users and Developers




Mappoint Europe 2006 + Powerbuilder 10.5

This is a discussion on Mappoint Europe 2006 + Powerbuilder 10.5 within the MapPoint 2006/2009 Discussion forums, part of the Map Forums category; Hi ! I get an error '35 - error calling external object function newmap at line ... ' while creating ...


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 (4) Thread Tools Display Modes
  4 links from elsewhere to this Post. Click to view. #1 (permalink)  
Old 12-26-2006
Junior Member
White Belt
 
Join Date: Dec 2006
Posts: 3
Post Mappoint Europe 2006 + Powerbuilder 10.5

Hi !

I get an error '35 - error calling external object function newmap at line ... ' while creating a new map in an ole-control.
- I created a mappoint control on the window (Insert / Control / Ole,
then I select the tabpage 'insert control', and finally selected
'Microsoft Mappoint Control 13.0')
- name of the olecontrol: ole_map
- open event of the window: ioo_map = ole_map.object.NewMap(2)
- instance var of the window : oleobject ioo_map
- 2 = geoMapEurope

Can anyone help me with the is problem ?
Kind Regards
Bruno
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-26-2006
Senior Member
Black Belt
 
Join Date: Nov 2004
Posts: 2,112
Re: Mappoint Europe 2006 + Powerbuilder 10.5

Hi Bruno,

What happens if you call OpenMap (with a ptt file) instead of NewMap ? I recall me something similar using Delphi.
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-26-2006
Junior Member
White Belt
 
Join Date: Dec 2006
Posts: 3
Re: Mappoint Europe 2006 + Powerbuilder 10.5

Hi Wilfried !

I called the OpenMap function with an existing mappoint file (test.ptm) , the problem still remain with the same error code ...

oleobject loo_map
//loo_map = ole_map.object.Newmap(2)
loo_map = ole_map.object.OpenMap('c:\test.ptm')

I also perfomed a 'regsrv32 mappointcontrol.ocx', without any improvements.

Thanks
King regards
Bruno
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 12-27-2006
Senior Member
Black Belt
 
Join Date: Nov 2004
Posts: 2,112
Re: Mappoint Europe 2006 + Powerbuilder 10.5

Hi Bruno,

I found this article: Using MS MapPoint in PowerBuilder - MapPoint Articles - MP2K Magazine but it seems you do exacly the same.
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 12-27-2006
Junior Member
White Belt
 
Join Date: Dec 2006
Posts: 3
Re: Mappoint Europe 2006 + Powerbuilder 10.5

Indeed, that's the article I used to start from. (There's a similar article in the Powerbuilder Developer Journal : Using MS MapPoint in PowerBuilder @ POWERBUILDER DEVELOPER'S JOURNAL)

I'll keep you informed in case I find a solution.

Thanks a lot !
Regards
Bruno
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 12-27-2006
Senior Member
Black Belt
 
Join Date: Nov 2004
Posts: 2,112
Re: Mappoint Europe 2006 + Powerbuilder 10.5

Hi Bruno,

I dont know if this is interesting for you, but I found 2 other threads here with some code samples.

Geocoordinates from a waypoint
displayDataMap question again
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
105, 2006, europe, mappoint, powerbuilder


LinkBacks (?)
LinkBack to this Thread: http://www.mapforums.com/mappoint-europe-2006-powerbuilder-10-5-a-5523.html

Posted By For Type Date
MapPoint Download - MP2K Magazine This thread Refback 01-08-2007 12:50 AM
Microsoft MapPoint 2006 - MP2K Magazine This thread Refback 12-29-2006 05:27 AM
Interview with Steve Lombardi - MapPoint Articles - MP2K Magazine This thread Refback 12-27-2006 07:37 PM
An API to Control MapPoint 2006 GPS Features - Part I of II - MapPoint Articles - MP2K Magazine This thread Refback 12-27-2006 05:38 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
Geocode/Mapping Issues - Mappoint 2006 Europe sjhunt MapPoint 2006/2009 Discussion 24 10-24-2007 05:05 PM
Importing new layers in Mappoint Europe 2006 Jama MapPoint 2006/2009 Discussion 1 10-30-2006 03:10 PM
Where is MapPoint 2006 Europe? Anthony_Hunt MapPoint 2006/2009 Discussion 11 09-06-2006 03:34 PM
Very simple question on MapPoint Europe 2006 davidb MapPoint 2006/2009 Discussion 4 08-24-2006 01:27 PM
Using OCX MapPoint control with PowerBuilder Anonymous MapPoint 2006/2009 Discussion 1 11-07-2003 11:53 AM


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


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