by karada (6 Submissions)
Category: Internet/HTML
Compatability: VB 6.0
Difficulty: Unknown Difficulty
Originally Published: Mon 8th January 2001
Date Added: Mon 8th February 2021
Rating: (1 Votes)
This code will help you to find out the name of html files which is _ attached to a web page through FRAME/frame tags and download these html
'instance named WebCtrl.(Select Project menu-->Components--> then
'Select Microsoft Internet Controls)
'Thanks Microsoft!!
'Create a textbox instance named txtFrames and set multiline property to True'
'Create a command button instance named cmdFrames
'Please feel free to write for more help
'And add the following code:
Private Sub Form_Load()
webCtrl.Navigate "http://www.usarmy.com"
End Sub
Private Sub cmdFrames_Click()
Dim linkFiles, AllCount
Set linkFiles = webCtrl.Document.All
AllCount = linkFiles.Length
For q = 0 To AllCount - 1
tagName = linkFiles.Item(q).tagName
If tagName = "FRAME" Or tagName = "frame" Then
txtFrames.Text = txtFrames.Text & vbNewLine & linkFiles.Item(q).src
'WRITE CODE HERE TO FINDOUT THE PATH OF THESE HTML FILES AND DOWNLOAD IT
'IF YOU WANT MORE HELP ON THAT PLEASE MAIL ME.
End If
Next
Set linkFiles = Nothing
End Sub
No comments have been posted about This code will help you to find out the name of html files which is _ attached to a web page throug. Why not be the first to post a comment about This code will help you to find out the name of html files which is _ attached to a web page throug.