Results 1 to 3 of 3

Thread: Syncing progressbar with email download?

  1. #1

    Thread Starter
    New Member RJisinspired's Avatar
    Join Date
    Sep 2002
    Location
    Massachusetts
    Posts
    4

    Syncing progressbar with email download?

    Hello.

    I would like to know if there are any sites or examples that describe how to make the prgressbar show the downloading progress of email and attachments?

    I'm using the SMTP control and visual basic 6. Thanks
    Robert

  2. #2
    Junior Member
    Join Date
    May 2003
    Posts
    17

    Question

    Hi,

    How do you use the SMTP protocol? Have you made your own control with a winsock or have you used the SMTP-protocol that is built-in VB?

    Greetz,


    Teddo
    [vbcode]
    Private Sub AskAQuestion(Me As Question, Others As Answer)
    MsgBox "Answer: " & Others
    End Sub

    Private Sub HelpOthers()
    If Answer = Known Then
    Give Answer
    Else
    MakeUpAnswerAndLookSmart
    End If
    End Sub
    [/vbcode]
    [vbcode]
    Private Sub Teddo_WakeUp()
    If HelpOther = Possible Then
    HelpOthers
    Else
    AskAQuestion
    End If
    End Sub
    [/vbcode]

  3. #3

    Thread Starter
    New Member RJisinspired's Avatar
    Join Date
    Sep 2002
    Location
    Massachusetts
    Posts
    4
    The smtp control I was told just recently it isn't built in to VB by a friend but I seem to have it in components. I'm not sure since I do not recall downloading an external application for an email client, unless it's an outlook file maybe?

    I'm still working on it. I believe I must use filelen(X) in the .max value of the progressbar. I'm using a for loop and one if/else statement to try to go through the progression to correspond to the size of the file to be downloaded but either the progressbar already is at Max value or the bar doesn't show any progress color after hitting the send mail button. In either case when the progressbar color shows or not after hitting send the form is half see-through like it is stalling. I don't know.

    The smtp control doesn't appear to have a "bytestotal" argument like the winsock does as one of it's actions for connection which would be a value I could pass to the progressbar. I was also told to use winsock instead of smtp control but with the smtp control I do not have to deal with authentication errors from my email server, which my email server and many other people's servers requires authentication.

    So apparently this encryption is built into this smtp control.
    Robert

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