MapPoint Forums

MapForums

Community of VE/MapPoint Users and Developers




Problem instantiating MP Active X control in a VB and VC++

This is a discussion on Problem instantiating MP Active X control in a VB and VC++ within the MapPoint 2006/2009 Discussion forums, part of the Map Forums category; Hi... We are getting the following error when trying to instantiate the MP Active X control in either a VB ...


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 (1) Thread Tools Display Modes
  1 links from elsewhere to this Post. Click to view. #1 (permalink)  
Old 05-05-2006
Junior Member
White Belt
 
Join Date: May 2006
Posts: 2
Problem instantiating MP Active X control in a VB and VC++

Hi... We are getting the following error when trying to instantiate the MP Active X control in either a VB or VC++ app:

"This method or property can only be set at run time, not when designing forms."

We used the ActiveX test container and instantiated the Microsoft Mappoint control. Using the Control->Invoke Methods menu item, we invoked the OpenMap method by passing the sales.ptm file present in the samples folder of the Mappoint install folder... but get the error above...
__________________
Cheers

Brent
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 05-06-2006
Senior Member
Black Belt
 
Join Date: Nov 2004
Posts: 2,105
Hi,

I do not understeand. If you call Openmap from a menutiem like this:

Code:
MP.OpenMap(openFileDialog.InitialDirectory + openFileDialog.FileName);
then the map opens. Can you shet more light on the problem you have?
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 05-10-2006
Junior Member
White Belt
 
Join Date: May 2006
Posts: 2
problem solved

Thxs Wilfried... we resolved the problem!

Brent
__________________
Cheers

Brent
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
active, control, instantiating, problem


LinkBacks (?)
LinkBack to this Thread: http://www.mapforums.com/problem-instantiating-mp-active-x-control-vb-vc-4950.html

Posted By For Type Date
Active x control - xat.com JPEG GIF PNG OCX Optimizer for Windows 32 bit applications This thread Refback 07-28-2007 08:41 AM

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
MapPoint 2004 Active-X control: how to "bump" pus citrix_99301 MapPoint 2006/2009 Discussion 3 03-18-2006 02:50 AM
Mappoint active x control crashes at random points Anonymous MapPoint 2006/2009 Discussion 8 06-14-2005 03:53 AM
Problem with MapPoint control redraw in Visual c++ Anonymous MapPoint 2006/2009 Discussion 2 11-21-2004 04:04 PM
Mappoint control problem Anonymous MapPoint 2006/2009 Discussion 1 03-22-2004 07:39 AM
How to use the mappoint 1.0 active x control from C# ? Anonymous MapPoint 2006/2009 Discussion 0 01-22-2004 06:02 AM


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

Bulgaria Cheap Ski Holidays
When you look for cheap Ski holidays, look for Bulgaria cheap ski holidays. The slopes are ideal for beginners and early intermediate skiers.

Late Deal Holidays
Whatever your travel needs, city breaks, late deal holidays, luxury holidays or family holidays - your personal Travel Counsellor can help

Cape Town Cheap Flights
Thinking about visiting Cape Town. Cheap flights are hard to find unless you visit dealchecker.co.uk. We'll shop around so you don't have to.

Holidays in Cyprus
Holidays in Cyprus are enriched by the abundance of churches, ruins and natural wonders. Book a holiday with us today!

Cheap Egypt Holidays
Pick up a bargain cheap Egypt holiday online when you visit ulookubook.com. Just check out our tips to make sure you book at the right time to get a great holiday for a great price. Finding cheap Egypt holidays can be simple when you know how.

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

Cheap holidays to Portugal
Enjoy a spectacular country at a fraction of the cost. Find information on cheap holidays to Portugal 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 48 49 50 51 52