Copy files backgroundworker with progressbar

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Silvester

    Copy files backgroundworker with progressbar

    Please can someone point me to a code sample where larges files can be
    dragdropped onto a form and files are copied using backgroundworke r and
    progressbar status ?

    Thanks in advance


  • chanmm

    #2
    Re: Copy files backgroundworke r with progressbar

    It is rather tedious than hard. You just have to tackle drag and drop,
    backgroundworke r and progressbar separately.

    chanmm

    "Silvester" <silvester@nosp am.comwrote in message
    news:ui9FS757GH A.4996@TK2MSFTN GP04.phx.gbl...
    Please can someone point me to a code sample where larges files can be
    dragdropped onto a form and files are copied using backgroundworke r and
    progressbar status ?
    >
    Thanks in advance
    >

    Comment

    • Silvester

      #3
      Re: Copy files backgroundworke r with progressbar

      Hi,

      Do you have a code sample or can you point me to a link that shows us how to
      do this ?

      Thanks
      "chanmm" <chanmmn@hotmai l.comwrote in message
      news:uEK6WgG8GH A.4552@TK2MSFTN GP05.phx.gbl...
      It is rather tedious than hard. You just have to tackle drag and drop,
      backgroundworke r and progressbar separately.
      >
      chanmm
      >
      "Silvester" <silvester@nosp am.comwrote in message
      news:ui9FS757GH A.4996@TK2MSFTN GP04.phx.gbl...
      >Please can someone point me to a code sample where larges files can be
      >dragdropped onto a form and files are copied using backgroundworke r and
      >progressbar status ?
      >>
      >Thanks in advance
      >>
      >
      >

      Comment

      • Andy

        #4
        Re: Copy files backgroundworke r with progressbar

        Check out the DragDrop event in the help and the topic on the
        background worker.

        Once you kick off the worker you won't be able to process more files
        until the worker is done. So you may want to use a normal thread that
        watches a queue.. check out Semaphore and friends.

        Andy

        Silvester wrote:
        Hi,
        >
        Do you have a code sample or can you point me to a link that shows us how to
        do this ?
        >
        Thanks
        "chanmm" <chanmmn@hotmai l.comwrote in message
        news:uEK6WgG8GH A.4552@TK2MSFTN GP05.phx.gbl...
        It is rather tedious than hard. You just have to tackle drag and drop,
        backgroundworke r and progressbar separately.

        chanmm

        "Silvester" <silvester@nosp am.comwrote in message
        news:ui9FS757GH A.4996@TK2MSFTN GP04.phx.gbl...
        Please can someone point me to a code sample where larges files can be
        dragdropped onto a form and files are copied using backgroundworke r and
        progressbar status ?
        >
        Thanks in advance
        >

        Comment

        • Silvester

          #5
          Re: Copy files backgroundworke r with progressbar

          I'm not sure what semaphore & friends is. Please can you direct me to a link
          ?

          "Andy" <andyj@med-associates.comw rote in message
          news:1161029270 .312433.136470@ b28g2000cwb.goo glegroups.com.. .
          Check out the DragDrop event in the help and the topic on the
          background worker.
          >
          Once you kick off the worker you won't be able to process more files
          until the worker is done. So you may want to use a normal thread that
          watches a queue.. check out Semaphore and friends.
          >
          Andy
          >
          Silvester wrote:
          >Hi,
          >>
          >Do you have a code sample or can you point me to a link that shows us how
          >to
          >do this ?
          >>
          >Thanks
          >"chanmm" <chanmmn@hotmai l.comwrote in message
          >news:uEK6WgG8G HA.4552@TK2MSFT NGP05.phx.gbl.. .
          It is rather tedious than hard. You just have to tackle drag and drop,
          backgroundworke r and progressbar separately.
          >
          chanmm
          >
          "Silvester" <silvester@nosp am.comwrote in message
          news:ui9FS757GH A.4996@TK2MSFTN GP04.phx.gbl...
          >Please can someone point me to a code sample where larges files can be
          >dragdropped onto a form and files are copied using backgroundworke r
          >and
          >progressbar status ?
          >>
          >Thanks in advance
          >>
          >
          >
          >

          Comment

          Working...