急急,VB怎样读取.htm文件中的文本框中的数据
Set objExplorer = WScript。CreateObject _
("InternetExplorer。Application", "IE_")
objExplorer。Navigate "D:scriptpass。
html"
objExplorer。ToolBar = 0
objExplorer。StatusBar = 0
objExplorer。Width = 400
objExplorer。
Height = 250
objExplorer。Left = 0
objExplorer。Top = 0
objExplorer。Visible = 1
Do While (objExplorer。
Document。All。OKClicked。Value = "")
Wscript。Sleep 250
Loop
strPassword = objExplorer。Document。
All。PasswordBox。Value
objExplorer。Quit
'Wscript。Sleep 250
Wscript。Echo strPassword
这个是脚本程序你改一下就可以使用VB了下面是一个HTML的源文件
Please enter your password:。
答:错误报告 欢迎访问: 到论坛发帖我会帮助您解答详情>>