Results 1 to 3 of 3

Thread: [RESOLVED] [2003] Pausing a program

  1. #1

    Thread Starter
    Lively Member therat324's Avatar
    Join Date
    Oct 2008
    Location
    Bethany, Oklahoma
    Posts
    94

    Resolved [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

  2. #2
    New Member
    Join Date
    Oct 2008
    Posts
    9

    Re: [2003] Pausing a program

    Look into background threading to work in the background. Use Threading.Thread.Sleep() for pausing.

  3. #3

    Thread Starter
    Lively Member therat324's Avatar
    Join Date
    Oct 2008
    Location
    Bethany, Oklahoma
    Posts
    94

    Re: [2003] Pausing a program

    ahh I see thankyou
    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
  •  



Click Here to Expand Forum to Full Width