Hi All,
I have a .net web service try to use an ActiveX control. The code got this error"
"cannot be instantiated because the current thread is not in a single-threaded apartment"
Someone suggested for the similar error for a windows forms program that to add
[code=c]
[STAThread]
main()
{
}
[/code]
But my code is not windows form and does not have main()....