|
-
Oct 9th, 2008, 05:43 PM
#1
Thread Starter
Lively Member
[RESOLVED] [2003] Pausing a program
My program lets a user copy a selected drive to a series removable media (CD's, thumb drive...ect)
Anyways during copy prossess the program checks to see if the removable media has space for the next program. If it doesn't then the user is prompted to finialize their prosses (use windows to burn the cd, safely remove drive..ect) and insert next media.
I need to find a way to pause the prosses while the user is finializing the copy and inserting new media. So the user needs to be able to work in the background and not affect the copy prossess. Then resume the prosses when they are ready. Any suggestions?
My car if Chevy was VB.NET
Code:
Public Class MyCar
Public Sub Camaro()
Dim Camaro As Car
Camaro = SS.Fast("Sexy")
End Sub
Public Function Fast(ByVal sexy As String ) As String
Return "SUPER" & sexy
End Function
End Class
-
Oct 9th, 2008, 08:38 PM
#2
New Member
Re: [2003] Pausing a program
Look into background threading to work in the background. Use Threading.Thread.Sleep() for pausing.
-
Oct 11th, 2008, 10:04 PM
#3
Thread Starter
Lively Member
Re: [2003] Pausing a program
My car if Chevy was VB.NET
Code:
Public Class MyCar
Public Sub Camaro()
Dim Camaro As Car
Camaro = SS.Fast("Sexy")
End Sub
Public Function Fast(ByVal sexy As String ) As String
Return "SUPER" & sexy
End Function
End Class
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|