- Home
·
- Internet/HTML
·
- This code will help you to find out the name of html files which is _ attached to a web page throug
This code will help you to find out the name of html files which is _ attached to a web page throug
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
Rate This code will help you to find out the name of html files which is _ attached to a web page throug
(1(1 Vote))
'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
This code will help you to find out the name of html files which is _ attached to a web page throug Comments
No comments yet — be the first to post one!
Post a Comment