Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Self starting code and self terminating form
Message
From
15/06/2004 15:40:21
 
General information
Forum:
Visual Basic
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00913733
Message ID:
00914038
Views:
14
You can report information to the user using the MessageBox() function. It has a timeout parameter.

Aloha,

James
>I mostly do fairly simple VB coding, so the following is beyond me.
>
>I have a single form that starts, the user presses a button to execute the code, when it's finished, he closes the form by pressing the X in the top right. This give the user a chance to look at the before and after stats on the form.
>
>I want to make it semi-automatic, if after the form has displayed for some number of seconds, and nothing has happened, I want the button to disable itsef and the code to start running automatically. After the code has finished, I again want to count seconds, and then have the form terminate itself and the program to end.
>
>This way the progam can run unattended.
Previous
Reply
Map
View

Click here to load this message in the networking platform