| | |
time delay during program execution
Please support our VB.NET advertiser: Programming Forums - DaniWeb Sister Site
Thread Solved |
•
•
Join Date: Jun 2006
Posts: 25
Reputation:
Solved Threads: 1
I am creating a program that will install multiple programs, because I build new computer quite often. For example "MyInstallProgram" will launch and allow the user to select which programs (MSOffice, Acrobat, WinZip etc.) to install.
When compiling the program, what code can I use that will insert a time delay so that I do not have 5 install programs running and installing all at once.
Is there code that would insert 30 seconds before the next line of code is executed? What would that code look like?
Logic:
If MSOffice checked then,
open c:\windows\msofficesetup.exe
wait 30 seconds
If Acrobat checked then,
open c:\acrobatsetup.exe
wait 30 seconds...
etc.
When compiling the program, what code can I use that will insert a time delay so that I do not have 5 install programs running and installing all at once.
Is there code that would insert 30 seconds before the next line of code is executed? What would that code look like?
Logic:
If MSOffice checked then,
open c:\windows\msofficesetup.exe
wait 30 seconds
If Acrobat checked then,
open c:\acrobatsetup.exe
wait 30 seconds...
etc.
Somthing like.
?
VB.NET Syntax (Toggle Plain Text)
System.Threading.Thread.Sleep(1000) ' Sleep for 1 second
?
Firefox
Ewido
Tune up windows
Get detailed system information
My Fixes
Member - Alliance of Security Analysis Professionals - Since 2006
Ewido
Tune up windows
Get detailed system information
My Fixes
Member - Alliance of Security Analysis Professionals - Since 2006
What site? I think you forgot to post the link
.
. Firefox
Ewido
Tune up windows
Get detailed system information
My Fixes
Member - Alliance of Security Analysis Professionals - Since 2006
Ewido
Tune up windows
Get detailed system information
My Fixes
Member - Alliance of Security Analysis Professionals - Since 2006
![]() |
Similar Threads
- displaying time (Java)
- Program Time Counter (C++)
- Time Delay Code (Python)
- Time delay (Java)
- Perl- How to call an event after a time delay (Perl)
- Keeping Program Execution Going (C++)
- how to find out the time of cpu? (Motherboards, CPUs and RAM)
- Using time in programs (C++)
Other Threads in the VB.NET Forum
- Previous Thread: VB .NET > New Programmer > Please Help
- Next Thread: Connecting to a SQL Server Database using VB
Views: 18710 | Replies: 4
| Thread Tools | Search this Thread |
Tag cloud for VB.NET
.net .net2008 2005 2008 access account application array arrays basic bing button buttons c# center check checkbox code convert crystalreport data database datagrid datagridview date design designer dissertation dissertations dropdownlist excel fade file-dialog filter ftp generatetags google gridview hardcopy images inline input insert installer intel internet listview mobile monitor net networking objects output panel passingparameters picturebox port position print printing problem read remove save searchbox searchvb.net select serial shutdown soap sorting studio survey table tcp temperature text textbox time timer timespan toolbox trim update user validation vb vb.net vb.netformclosing()eventpictureboxmessagebox vb2008 vbnet visual visualbasic visualbasic.net visualstudio2008 web webbrowser winforms wpf year






