例如,我写了一个方法:
Private Sub Command1_Click()
Dim dom As New DOMDocument
Dim http As New XMLHTTP
Dim strRet As String
If Not dom.Load("c:\voucher.xml") Then MsgBox "文件不存在"
http.Open "Post", "http://172.31.132.173/u8eai/import.asp", True '指定服务器ASP
http.send dom.xml '把xml数据发送服务器端
strRet = http.responseText '
End Sub
我需要导入“DOMDocument”,“XMLHTTP”等,我该怎么办?
答案 0 :(得分:4)
在IDE中选择菜单项Project>参考,然后检查“Microsoft XML,v6.0”(我认为)