943,608 Members | Top Members by Rank

Ad:
  • VB.NET Discussion Thread
  • Marked Solved
  • Views: 1331
  • VB.NET RSS
Aug 30th, 2007
0

execute automatically!!!!!!!!!!!!!!!!!!!

Expand Post »
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
Similar Threads
bcm
Reputation Points: 18
Solved Threads: 0
Junior Poster in Training
bcm is offline Offline
63 posts
since Aug 2007
Aug 30th, 2007
0

Re: execute automatically!!!!!!!!!!!!!!!!!!!

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...
Reputation Points: 180
Solved Threads: 34
Posting Whiz
Hamrick is offline Offline
322 posts
since Jun 2007
Aug 30th, 2007
0

Re: execute automatically!!!!!!!!!!!!!!!!!!!

Can't you just have put the code on form load instead of button_clicked then?
Featured Poster
Reputation Points: 1536
Solved Threads: 431
Posting Expert
iamthwee is offline Offline
5,865 posts
since Aug 2005
Aug 30th, 2007
1

Re: execute automatically!!!!!!!!!!!!!!!!!!!

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
bcm
Reputation Points: 18
Solved Threads: 0
Junior Poster in Training
bcm is offline Offline
63 posts
since Aug 2007

This thread is solved

Either the thread starter or a moderator has marked this thread as solved. You can most likely trust the responses and answers given. There is most likely no reason for any further responses to be posted here. If you have a related question, please start a new thread in this forum instead.

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in VB.NET Forum Timeline: Open ASCII file in Datagrid
Next Thread in VB.NET Forum Timeline: multiple music





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC