摘要:关于VB的FTP下载网上有例子,主要就是Open,Connect,GetFile的顺序。还有回调函数的设定等。使用的是Wininet.dll库。由于库的版本或者Windows版本的问题,我的机器FtpGetFile一跑就死机,有的机器就没有问题。后来解决方法是HINTERNET InternetConnect(__in HINTERNET hInternet,__in LPCTSTR lpszServerName,__in INTERNET_PORT nServerPort,__in LPCTSTR lpszUsername,__in LPCTSTR lpszPassword,__in DWO
阅读全文
摘要:这个项目已经进行1个半月,关于CGI输出网页的技术我竟然一直没有好好研究一下,一直照葫芦画瓢的把作业完成。上周碰到的这个问题,我调试了3,4个小时,最后发现是因为没有输出1 puts( "Content-type: text/html\n\n" );MB的,好好看看到底什么是CGI技术吧,虽然已经是一个非常古老的技术。转载http://www.cnblogs.com/mydomain/archive/2011/08/21/2147734.htmlCGI全称Common Gateway Interface(共同编程接口),是一种编程接口,不论什么语言,只要按照该接口的标准编写
阅读全文
摘要:内容不能为空 1 SYSTEMTIME mOneHourBeforeSysTime; 2 SYSTEMTIME msysTime; 3 union 4 { FILETIME filetime; 5 ULONGLONG utime; 6 }uniontime; 7 8 GetLocalTime(&msysTime); 9 10 // 本画面表示時の1時間前の時の取得 11 12 SystemTimeToFileTime(&msysTime, &uniontime.filetime); 13 14 uniontime.utime -= UInt32x32To6...
阅读全文
摘要:http://hi.baidu.com/luodaijun/blog/item/b44afced7df9214f79f0552b.html1。编写js函数<script type="text/javascript"> function display(id){ var traget=document.getElementById(id); if(traget.style.display=="none"){ traget.style.display=""; }else{ traget.style.display="
阅读全文
摘要:http://www.cnblogs.com/myufeiyang/archive/2008/10/22/1316441.html方法如下:document.getElementById(ID) //获得指定ID值的对象document.getElementsByName(Name) //获得指定Name值的对象数组document.all[] //很智能的东东 不过非WEB标准document.getElementsByTagName //获得指定标签值的对象数组下面给出例子,只需把注释去掉直接运行就可看出效果.<!DOCTYPE HTML PUBLIC "-//W3C//D
阅读全文