| 发表于:2007-10-22 17:21:432楼 得分:10 |
private declare function urldownloadtofile lib "urlmon" alias "urldownloadtofilea" (byval pcaller as long, byval szurl as string, byval szfilename as string, byval dwreserved as long, byval lpfncb as long) as long private sub form_load() dim bytdata() as byte inet1.requesttimeout = 30000 inet1.openurl "http://xxx.com/login.asp" while inet1.stillEXECuting doevents wend downloadfile "http://xxx.com/x.jpg", app.path & "\tempcode.bmp" piccode.picture = loadpicture(app.path & "\tempcode.bmp") end sub inet下最好用这个. | | |
|