Question:
Visual Basic question?
Binayak Ghosh
2009-03-18 22:11:02 UTC
I created a visual basic program which contains a command button. When ever I click on the command button, a function starts. My query is that how can the function automatically begin every after 1 minute.
Six answers:
siddhant k
2009-03-18 22:29:29 UTC
add the timer into your form and set the intervals and write the following coding this coding will only work if MS DN is installed :



click on the form and write the follwing:



private sub _load()

timer1.enabled = true

end sub

OR



click on the timer and write the follwing:



private sub _load()

timer1.enabled = true

end sub
2009-03-18 23:19:05 UTC
you need to create a clock instead of the cmd button.



then you need to set the interval to a minute.



just double click the clock on the form and move the function to the clock.
mike w
2009-03-18 22:20:43 UTC
you need to create a clock instead of the cmd button.



then you need to set the interval to a minute.



just double click the clock on the form and move the function to the clock.
Milind
2009-03-19 04:00:21 UTC
You need to add timer control in the form. Then you can call the code on 'Cmd_Click' in timer's change event.
carotenuto
2016-10-07 02:30:37 UTC
while you're employing vista and this is in a compressed folder all you may desire to do it double click it and it will open, if it became zipped with winRAR then you relatively could use winRAR to open it. try double clicking the folder, if its winrar then winrar will open if its something else then which will open. you may desire to extract the data onto workstation or archives or whereever you like o positioned the data.
Imran
2009-03-18 22:19:23 UTC
hi



add the loop function


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...