MapPoint Forums

MapForums

Community of VE/MapPoint Users and Developers




Microsoft's Weak Namespace

This is a discussion on Microsoft's Weak Namespace within the MapPoint 2006/2009 Discussion forums, part of the Map Forums category; I'll keep this rant short. When you import the MapPoint object model into a .NET project, you lose the ability ...


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 Thread Tools Display Modes
  #1 (permalink)  
Old 06-16-2006
Junior Member
Yellow Belt
 
Join Date: Jun 2006
Posts: 14
Microsoft's Weak Namespace

I'll keep this rant short. When you import the MapPoint object model into a .NET project, you lose the ability to create a namespace called MapPoint. I use the following naming convention for name spaces:
<Company>.<Context>.<Group>.<SubGroup>...... etc.
For exmaple, custom generic controls are found in "MyCompany.Windows.Forms.Controls". This works because the fully qualified names of System.Windows and MyCompany.Windows are different. However in the case of MapPoint, there is no parent namespace. Thus, as soon as a name space called MapPoint is created (MyCompany.MapPoint), MapPoint can no longer be accessed.

I'm new to .NET, interop and MapPoint. New jobs are great!
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-21-2006
Senior Member
Black Belt
 
Join Date: Nov 2004
Posts: 2,105
Hi,

Mappoint is a win32 application. And dotNet is (a the moment) a thin wrapper around win32
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
microsoft, namespace, weak


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
Don't forget to add statement: using namespace MapPoint; Anonymous MP2K Magazine Articles 0 05-12-2005 11:29 AM
With Microsoft's MapPoint Division, Location is Everything Eric Frost MP2K Magazine Articles 4 04-14-2005 07:17 AM


All times are GMT -5. The time now is 08:03 PM.


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

Flights from Coventry
Holiday Hypermarket can help you to find great value holidays to suit you. Book great value flights from Coventry Airport. We provide key information about the airport too.

Honeymoon Holidays
Book your Honeymoon holiday with Travel Counsellors. A personal advisor will help you plan the perfect honeymoon holiday.

Cheap Flight
Find cheap flights online at dealchecker.co.uk. We search the latest offers from the UK's leading Travel Agents, Tour Operators and Airlines.

Holidays to Cuba
For the best offers on holidays to Cuba, visit The Holiday Place today. Find a deal to suit you and your budget online!

Turkey
Before booking a holiday to Turkey check out the ULookUBook travel guide. Find out about the rich culture in Turkey before you go there to help you to make the most of your holiday.

Price Comparisons
Search and compare millions of holidays, flights and hotels etc. At Travel.co.uk, price comparisons are easy.

Cheap Holidays to Lanzarote
Visit the Canary Islands, even if you're cash strapped! View cheap holidays to Lanzarote 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