View Poll Results: how to use internet transfer control in asp

Voters
0. You may not vote on this poll
  • yes

    0 0%
  • yes

    0 0%
  • yes

    0 0%
Results 1 to 2 of 2

Thread: problem to get view source

  1. #1

    Thread Starter
    New Member
    Join Date
    Apr 2001
    Location
    HYDERABAD
    Posts
    12

    Red face

    how to use internet transfer control to get view source of any site?
    sagar

  2. #2
    Member
    Join Date
    Jan 2001
    Location
    Alberton, Gauteng, South-Africa
    Posts
    48
    Private Sub Inet1_StateChanged(ByVal State As Integer)

    Dim sTemp As String

    Select Case State
    Case 12 'icResponseCompleted

    sTemp = Inet1.GetChunk(100)
    While sTemp <> ""
    txtCode.Text = txtCode.Text & sTemp
    sTemp = Inet1.GetChunk(100)
    Wend

    Case 11 'icError
    MsgBox Inet1.ResponseInfo, vbCritical, "ERROR!"

    End Select
    End Sub

    ***************************

    Here you go .. now you can put what ever sTemp returns for you in your RTB or TB
    ;-)
    Jaco
    South-Africa

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