SPearse
10-20-2007, 03:53 AM
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?
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?