D
Dustin Davis
I've build an application that monitors a folder. When a new file is
created in that folder it kicks off a process. On such process is to
load a form. When I get to the statement to create and instance of the
form, I get this error message:
---------------------------
ActiveX control '243f57b7-dd96-4179-865d-27ac7b5df609' cannot be
instantiated because the current thread is not in a single-threaded
apartment.
---------------------------
The form is one that I've created and contains various active x
controls. It is on the initialization of these controls that it crashes.
How can I make this work?
Thanks,
Dustin
created in that folder it kicks off a process. On such process is to
load a form. When I get to the statement to create and instance of the
form, I get this error message:
---------------------------
ActiveX control '243f57b7-dd96-4179-865d-27ac7b5df609' cannot be
instantiated because the current thread is not in a single-threaded
apartment.
---------------------------
The form is one that I've created and contains various active x
controls. It is on the initialization of these controls that it crashes.
How can I make this work?
Thanks,
Dustin