|
|
发表于 2006-2-8 17:18:00
|
显示全部楼层
Re:[求助]那位大哥可以给这个网页的文本框赋值,初学者
请参考下面的代码,有什么问题请联系Msn:xuzzzhen124@hotmail.com
Private Sub cmdNavigate_Click()
wb1.Stop
wb1.Navigate "file://E:\VB6\sf_20062814439\WELCOME.files\lt_index.files\mem_data.htm"
End Sub
Private Sub wb1_DocumentComplete(ByVal pDisp As Object, URL As Variant)
If pDisp Is wb1.Object Then
pDisp.Document.body.All("chgpasswd").Value = "****"
MsgBox pDisp.Document.body.All("chgpasswd").Value
End If
End Sub
|
|