请参考:
1、在VFP菜单
工具-选项-控件 ActiveX控件 选上
microsoft Internet Transfer Control控件
2、链接可以,我又试了一次
http://fe2.gz.163.com/cgi/readsrh?b=VFP&t=27359&i=27359&al=5&n=0&l=40&back=2&st=0&kw=%CD%A8%D3%C3%BA%AF%CA%FD
方法二:使用microsoft Internet Transfer Control控件
(1)在form中加入microsoft Internet Transfer Control控件
假设名为olecontrol1
(2)
M_URLNAME="192.168.0.1"
thisform.olecontrol1.url=M_URLNAME
thisform.olecontrol1.username="anonymous"
thisform.olecontrol1.password="anonymous"
thisform.olecontrol1.openurl