Welcome to MapForums!

Register, sign in, or use Facebook Connect above to join in and participate in the forum.

When you are signed in, this message, the ads in this row, and the red-underlined link ads all go away.

Subscribe to receive our newsletter.
Subscribe Unsubscribe
Results 1 to 2 of 2

Help with differences between vb6 and vb .Net

This is a discussion on Help with differences between vb6 and vb .Net within the MapPoint Desktop Discussion forums, part of the Map Forums category; I am able to create a custom ap in vb6 that controls the MapPoint application, but am now trying to ...

  1. #1
    takk is offline Junior Member White Belt
    Join Date
    Dec 2004
    Posts
    6

    Help with differences between vb6 and vb .Net

    I am able to create a custom ap in vb6 that controls the MapPoint application, but am now trying to do the same in vb .Net and having trouble. Can someone tell me the .Net equivelant of the following vb6 line:

    Dim MPApp As New MapPoint.Application

    VB .Net seems to have a problem with the "New"

    - Max

  2. #2
    Dazzer is offline Senior Member Green Belt
    Join Date
    Sep 2003
    Posts
    103
    Dim MPApp as new mappoint.application

    should work, have you added a reference to mappoint.

    If you have then you my want to try

    Dim MPApp As MapPoint.Application
    MPApp = new Mappoint.Application

    Or
    Dim MPApp As MapPoint.Application
    MPApp = CreateObject("MapPoint.Application")

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Discover differences between routes
    By PeppeM in forum MapPoint Desktop Discussion
    Replies: 6
    Last Post: 04-11-2006, 03:36 AM
  2. Differences between European Trial and Full NA Editions
    By frankp in forum MapPoint Desktop Discussion
    Replies: 7
    Last Post: 04-17-2005, 09:59 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


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 55 56 57 58 59 60 61 62 63 64 65 66