I have the next code in program.cs inside Main(), and works correctly only if i execute the main executable like (myprogram.exe), but this project is a click once application so