R
rs_tiin
Hi
We are having an application(a custom grid control
development) in which we are using a clipboard
system.windows.forms.clipboard.setdataobject. This works
fine at the time of development.
however when we deploy it using No-Touch, and run the app
on the deployed machines. we gert a weird error. it
says
"The current thrwead musty be set to STA mode before OLE
calls can be made. Ensure that your main function has
STAThreadAttribute" marked on it"
do note that the main method is already marked with as
STAThread, which was by default, anyways...
any hands???
regards,
sr
We are having an application(a custom grid control
development) in which we are using a clipboard
system.windows.forms.clipboard.setdataobject. This works
fine at the time of development.
however when we deploy it using No-Touch, and run the app
on the deployed machines. we gert a weird error. it
says
"The current thrwead musty be set to STA mode before OLE
calls can be made. Ensure that your main function has
STAThreadAttribute" marked on it"
do note that the main method is already marked with as
STAThread, which was by default, anyways...
any hands???
regards,
sr