>Apply the STAThread attribute to the function:
>
>
><STAThread()> Public Shared Function Main(ByVal tcAuto As String)
>
It doesn't change anything.
>Also, this method should be defined in the Startup Form of your applicaiton.
The form is the application. That's the only think I have.