Results 1 to 2 of 2

Thread: inet & statusbar

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Jan 1999
    Location
    Karjalohja, Finland
    Posts
    123
    I don't know how you can add progressbar in statusbar but here is code how you using progressbar.

    Public Sub GetFtpFile()

    Inet1.Execute , "GET Text.txt C:\Temp\Text.txt"
    FileTransfer

    End Sub

    Public Sub FileTransfer()

    'ProgressBar1.Max = 35000
    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

  2. #2
    Addicted Member Jakys's Avatar
    Join Date
    Dec 1999
    Location
    Norway
    Posts
    180

    Talking

    Sorry I mixed up progressbar & statusbar...

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