Thread
:
VS2005 upgrade of VB app with MP control fails with GPF "ActiveX Ctrl...not in a STA"
View Single Post
#
2
(
permalink
)
11-24-2006
Wilfried
MapForums Plus Member
Senior Member
Black Belt
Join Date: Nov 2004
Posts: 2,122
Re: VS2005 upgrade of VB app with MP control fails with GPF "ActiveX Ctrl...not in a
Hi,
You cannot access GUI components from another thread than the main thread. It never been, but in earlyer dotNet versions there was no exception generated.
__________________
rgds, Wilfried Mestdagh
www.mestdagh.biz
MapPoint coding demo
Order MapPoint 2009 with Routing and User Tools Spreadsheet
Wilfried
View Public Profile
Send a private message to Wilfried
Visit Wilfried's homepage!
Find all posts by Wilfried