Results 1 to 2 of 2

Thread: Help? Internet transfer control send file progress

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Aug 2000
    Posts
    114

    Question Help? Internet transfer control send file progress

    Is there a way when using the Internet transfer control that I can monitor how much of the file has been sent because I want to use a progress bar with my program telling me how much of the file has been sent so far??

  2. #2
    Lively Member
    Join Date
    Jan 1999
    Location
    Karjalohja, Finland
    Posts
    123
    I'm using Progressbar this way, this is not the best way.

    Public Sub SendFile()

    Inet1.Execute , "SEND C:\Temp\Text.txt Text.txt"

    FileTransfer

    End Sub

    Public Sub FileTransfer()

    'ProgressBar.Max = 32000
    ProgressBar1.Value = 0.05

    Do While Inet1.StillExecuting

    If ProgressBar1.Value < ProgressBar1.Max - 1 Then
    ProgressBar1.Value = ProgressBar1.Value + 0.05
    End If

    DoEvents

    Loop

    ProgressBar1.Value = ProgressBar1.Max

    End Sub

    -Dj4

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