0

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 :(

3
Contributors
3
Replies
4
Views
9 Years
Discussion Span
Last Post by bcm
0

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...

1

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

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.