i have written a code in vb.net. Its design contains buttons to execute various steps. Now i want my code to execute automatically run when I debug without pressing any buttons :(
I'm not sure what you mean, but you can write a unit test method that runs the event handlers for each of the buttons as if you clicked on them. That automates a sequence of button clicks...
Can't you just have put the code on form load instead of button_clicked then?
Thank you for replying guys but I have solved the problem. I inserted my code, which I first inserted in the buttons, in a function and then I called it in a timer, as I also wanted to call it at the interval of 5mins