just because many people ask how to do this so i decided to write this
go to project > references and tick microsoft internet controls
now type in this code
vb Code:
Public WithEvents IE As InternetExplorer Private Sub Form_Load() Set IE = New InternetExplorer IE.Visible = True IE.Navigate "http://en.wikipedia.org/wiki/Visual_Basic_6" End Sub Private Sub IE_DocumentComplete(ByVal pDisp As Object, URL As Variant) IE.Document.getElementById("siteSub").innerHTML = "<b>Modifed with visual basic 6</b>" End Sub
run the code and see what happens.
Note that u need some basic html/javascript knowledge to understand the code, which i wont say anymore here.
Feel free to ask me any questions.




Reply With Quote