This is the error it tells me:
An unhandled exception of type 'System.Threading.ThreadStateException'
occurred in System.Windows.Forms.dll
Additional information: Current thread must be set to single thread
apartment (STA) mode before OLE calls can be made. Ensure that your Main
function has STAThreadAttribute marked on it. This exception is only raised
if a debugger is attached to the process.
All item dialogs word (ie color, font). All in the same thread too.
Adam
"Herfried K. Wagner [MVP]" <hi***************@gmx.at> wrote in message
news:Oc*************@TK2MSFTNGP05.phx.gbl...
"Adam Honek" <Ad*******@Webmaster2001.freeserve.co.uk> schrieb: I'm getting an unhandled exception error on the below:
Which exception? Please post the complete exception information.
--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>