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

I am using MapPoint Control in another Ac....

This is a discussion on I am using MapPoint Control in another Ac.... within the MapPoint Desktop Discussion forums, part of the Map Forums category; I am using MapPoint Control in another ActiveX control, which is loaded by a web page. The following is the ...

  1. #1
    Anonymous is offline Senior Member Black Belt
    Join Date
    Jul 2002
    Posts
    5,137


    I am using MapPoint Control in another ActiveX control, which is loaded
    by a web page.

    The following is the Terminate() method in the ActiveX, hoping to help it better
    unload the Mappoint Control, since I don't know how to signal it to unload

    Private Sub UserControl_Terminate()
    oMap.Saved = True
    Set oMap = Nothing
    End Sub

    However, if I close IE instead of go to another page, the Mappoint
    Control may be failed to unload itself. On Windows2000, this will leave an
    orphan MapPoint process running there forever, and on Window 98, it simply crush
    the OS. But if I move to another page, close browser after, say, 3 minutes,
    everything will be fine.

    So I guess it's because Mappoint needs time to unload but the container did wait.

    So, how to unload MappointControl explicitly? and how do I know if it
    is unloaded successfully, so I can kill myself safely ?

    Thanks a lot!

    Desmond

  2. #2
    Anonymous is offline Senior Member Black Belt
    Join Date
    Jul 2002
    Posts
    5,137
    I think you're running into issues that are specific to using the ActiveX Control inside Internet Explorer. Microsoft doesn't support the OCX in this environment, so you're probably out of luck.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Re: Keyboard control in mappoint activex control
    By djcapslock in forum MapPoint Desktop Discussion
    Replies: 1
    Last Post: 03-10-2005, 10:16 AM
  2. Using MapPoint Control for Web App
    By Attila in forum MapPoint Desktop Discussion
    Replies: 1
    Last Post: 01-11-2005, 09:36 AM
  3. MapPoint Control in ASP
    By technohippie in forum MapPoint Desktop Discussion
    Replies: 2
    Last Post: 11-22-2004, 04:25 PM
  4. MapPoint Graphics Control
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 0
    Last Post: 09-30-2004, 07:03 AM
  5. i need the mappoint control 9 please
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 3
    Last Post: 04-22-2004, 09:41 AM

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 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83