My automation crash

hi, sorry for delay, the problem was that i have a C# code when the project was configured to VB.