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

Please support our VB.NET advertiser: Intel Parallel Studio Home
Thread Solved

Join Date: Aug 2007
Posts: 63
Reputation: bcm is an unknown quantity at this point 
Solved Threads: 0
bcm's Avatar
bcm bcm is offline Offline
Junior Poster in Training

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

 
0
  #1
Aug 30th, 2007
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
BCM
Reply With Quote Quick reply to this message  
Join Date: Jun 2007
Posts: 322
Reputation: Hamrick will become famous soon enough Hamrick will become famous soon enough 
Solved Threads: 33
Hamrick's Avatar
Hamrick Hamrick is offline Offline
Posting Whiz

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

 
0
  #2
Aug 30th, 2007
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...
The truth does not change according to our ability to stomach it.
Reply With Quote Quick reply to this message  
Join Date: Aug 2005
Posts: 5,266
Reputation: iamthwee is a splendid one to behold iamthwee is a splendid one to behold iamthwee is a splendid one to behold iamthwee is a splendid one to behold iamthwee is a splendid one to behold iamthwee is a splendid one to behold iamthwee is a splendid one to behold iamthwee is a splendid one to behold 
Solved Threads: 377
Featured Poster
iamthwee's Avatar
iamthwee iamthwee is offline Offline
Posting Expert

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

 
0
  #3
Aug 30th, 2007
Can't you just have put the code on form load instead of button_clicked then?
Reply With Quote Quick reply to this message  
Join Date: Aug 2007
Posts: 63
Reputation: bcm is an unknown quantity at this point 
Solved Threads: 0
bcm's Avatar
bcm bcm is offline Offline
Junior Poster in Training

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

 
1
  #4
Aug 30th, 2007
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
Reply With Quote Quick reply to this message  
Reply

This thread has been marked solved.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC