pasensyoso_manigbas
Well-known member
- Joined
- May 19, 2006
- Messages
- 64
- Programming Experience
- Beginner
hi pepz...
currently i migrate my code from VB.Net 2003 to 2005 version.. I have a couple of questio to ask..
1.) 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.
2.) Cross-thread operation not valid: Control 'logview' accessed from a thread other than the thread it was created on.
I have just installed the 2005 version early this morning... anyone could explain this.. this are the errors i encountered when i convert my project and try to run it..
currently i migrate my code from VB.Net 2003 to 2005 version.. I have a couple of questio to ask..
1.) 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.
2.) Cross-thread operation not valid: Control 'logview' accessed from a thread other than the thread it was created on.
I have just installed the 2005 version early this morning... anyone could explain this.. this are the errors i encountered when i convert my project and try to run it..