MapPoint Forums

MapForums

Community of VE/MapPoint Users and Developers




VB6 newmap crash

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


Go Back   MapPoint Forums > Map Forums > MapPoint 2006/2009 Discussion > Development

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 10-20-2007
Junior Member
White Belt
 
Join Date: Oct 2007
Posts: 1
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?
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 10-23-2007
Senior Member
Black Belt
 
Join Date: Nov 2004
Posts: 2,122
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.
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
crash, newmap, vb6


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
VB6 .NewMap error since upgrade Fleet MapPoint 2006/2009 Discussion 3 12-18-2006 02:05 PM
Reverse geocoding crash SphinxV MapPoint 2006/2009 Discussion 1 06-09-2005 03:43 PM
newmap yvdp MapPoint 2006/2009 Discussion 7 05-21-2004 05:48 PM
newmap problem with Mappointcontrol in VB.NET Anonymous MapPoint 2006/2009 Discussion 3 01-02-2004 05:29 PM
newmap slower with mappointcontrol than with Mappoint2004 ? Syd MapPoint 2006/2009 Discussion 0 10-21-2003 11:52 AM


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


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