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

VB6 newmap crash

This is a discussion on VB6 newmap crash within the Development forums, part of the MapPoint Desktop Discussion category; My application sometimes crashes on some, but not all PC's. It is written in VB6 with MP2006. in form_activate I ...

  1. #1
    SPearse is offline Junior Member White Belt
    Join Date
    Oct 2007
    Posts
    3

    VB6 newmap crash

    My application sometimes crashes on some, but not all PC's. It is written in VB6 with MP2006.
    in form_activate I have
    themap="\\c\data\mymap.ptm
    on error goto EHandler
    'record position in code=1
    mapctl.newmap themap
    'record position in code=2
    exit sub
    EHandler:
    'dump the error
    end sub

    This code is executed at startup, and locks up 30% of the time on some PC's. i.e. position 1 is recorded, position 2 is not. The form never becomes visible, and no errors are recorded or appear.

    I will be back at the customers site today (no broadband!) and will try redirecting the prog to use a local map (i.e. themap=c:\data\mymap.ptm) rather than via the network...

    Any ideas?

  2. #2
    Wilfried is offline Senior Member Black Belt
    Join Date
    Nov 2004
    Location
    Belgium
    Posts
    2,433

    Re: VB6 newmap crash

    Hi,

    need some more information to debug. do you use exception blocks ? very importand because stack is cleared when exception happens.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. VB6 .NewMap error since upgrade
    By Fleet in forum MapPoint Desktop Discussion
    Replies: 3
    Last Post: 12-18-2006, 02:05 PM
  2. Reverse geocoding crash
    By SphinxV in forum MapPoint Desktop Discussion
    Replies: 1
    Last Post: 06-09-2005, 03:43 PM
  3. newmap
    By yvdp in forum MapPoint Desktop Discussion
    Replies: 7
    Last Post: 05-21-2004, 05:48 PM
  4. newmap problem with Mappointcontrol in VB.NET
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 3
    Last Post: 01-02-2004, 05:29 PM
  5. newmap slower with mappointcontrol than with Mappoint2004 ?
    By Syd in forum MapPoint Desktop Discussion
    Replies: 0
    Last Post: 10-21-2003, 11:52 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 84 85 86 87 88 89 90 91 92 93 94 95 96