View Poll Results: how to use internet transfer control in asp
- Voters
- 0. You may not vote on this poll
-
Apr 2nd, 2001, 05:31 AM
#1
Thread Starter
New Member
how to use internet transfer control to get view source of any site?
-
Apr 4th, 2001, 08:06 AM
#2
Member
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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|