{"id":229,"date":"2008-12-05T09:51:28","date_gmt":"2008-12-05T01:51:28","guid":{"rendered":""},"modified":"2014-02-27T23:00:58","modified_gmt":"2014-02-27T15:00:58","slug":"%e5%a6%82%e4%bd%95%e5%ae%9a%e6%97%b6%e8%bf%90%e8%a1%8casp%e6%96%87%e4%bb%b6","status":"publish","type":"post","link":"http:\/\/www.xiaoyebailong.com\/index.php\/2008\/12\/05\/229.htm","title":{"rendered":"\u5982\u4f55\u5b9a\u65f6\u8fd0\u884cASP\u6587\u4ef6"},"content":{"rendered":"<p>\u5728\u4e00\u5b9a\u7684\u65f6\u5019\uff0c\u8981\u5b9a\u65f6\u7684\u8fd0\u884c\u67d0\u4e2aASP\u6587\u4ef6\u53bb\u6267\u884c\u4e00\u4e2a\u4efb\u52a1\uff0c\u5982\u4e00\u4e2a\u5de5\u5382\u5728\u65e9\u4e0a\uff19\u70b9\u949f\u8981\u91c7\u96c6\u6240\u6709\u7684\u7535\u8868\u7684\u8bfb\u6570\uff0c\u5f53\u7136\u8fd9\u8981\u901a\u8fc7IN SQL\u8fde\u63a5\u5230\u5404\u4e2a\u7535\u8868\u4e2d\uff0c\u6211\u4eec\u73b0\u5728\u5c31\u662f\u7528\u4e00\u4e2aASP\u6587\u4ef6\u628aIN SQL\u4e2d\u8868\u7684\u8bfb\u6570\u518d\u96c6\u4e2d\u5230MS SQL\u4e2d\u3002<\/p>\n<p>\u53ef\u80fd\u4f60\u770b\u5230\u7684\u5b9a\u65f6\u8fd0\u884cASP\u6587\u4ef6\u7684\u65b9\u6cd5\u6709\u591a\u79cd\uff0c\u4e0d\u8fc7\u6211\u73b0\u5728\u8981\u8bf4\u7684\u662f\u4e00\u79cd\u7b80\u5355\u7684\u65b9\u6cd5\uff0c\u5229\u7528\u8ba1\u5212\u4efb\u52a1\u5c31\u53ef\u7b80\u5355\u7684\u5b9e\u73b0\u3002<\/p>\n<p>\u9996\u5148\uff0c\u4f60\u8981\u5199\u4e00\u4e2a<b>js<\/b>\u6216\u8005<b>vbs<\/b>\u6587\u4ef6\u6765\u8c03\u7528\u4f60\u6240\u6709\u6267\u884c\u7684ASP\u3002\u4e0b\u9762\u662f<b>js<\/b>\u548c<b>vbs<\/b>\u6587\u4ef6\u7684\u4ee3\u7801\uff0c\u4f60\u53ef\u4ee5\u4efb\u9009\u4e00\u4e2a\uff0c\u6267\u884c\u6548\u679c\u662f\u4e00\u6837\u7684\u3002<\/p>\n<p>vbs\u4ee3\u7801\u62f7\u8d1d\u6846<\/p>\n<table cellspacing=\"0\" cellpadding=\"6\" width=\"95%\" align=\"center\" border=\"0\" style=\"border-right: #cccccc 1px dotted; table-layout: fixed; border-top: #cccccc 1px dotted; border-left: #cccccc 1px dotted; border-bottom: #cccccc 1px dotted\">\n<tbody>\n<tr>\n<td bgcolor=\"#f3f3f3\" style=\"word-wrap: break-word\"><font style=\"font-weight: bold; color: #990000\">\u4ee5\u4e0b\u662f\u5f15\u7528\u7247\u6bb5\uff1a<\/font><\/p>\n<p><font face=\"Verdana\">&#8216;CODE BY \u5c0f\u8377\u3000aston314@sohu.com<br \/>\n            &#8216;Create an instance of IE<br \/>\n            Dim IE<br \/>\n            Set IE = CreateObject(&quot;InternetExplorer.Application&quot;)<\/font><\/p>\n<p><font face=\"Verdana\">&#8216;\u8fd0\u884c\u4f60\u7684 URL<\/font><\/p>\n<p><font face=\"Verdana\">ie.navigate(&quot;http:\/\/www.blueidea.com\/&quot;)<br \/>\n            ie.visible=1<\/font><\/p>\n<p><font face=\"Verdana\">&#8216;Clean up&#8230;<br \/>\n            Set IE = Nothing <\/font><\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u4f60\u53ef\u4ee5\u53d6\u4efb\u4f55\u540d\u79f0\uff0c\u4f46\u540e\u7f00\u540d\u4e00\u5b9a\u8981\u662fvbs\uff0c\u5728\u8fd9\u91cc\u6211\u4eec\u53d6\u540ddo.vbs\u3002<\/p>\n<p>js\u4ee3\u7801\u62f7\u8d1d\u6846<\/p>\n<table cellspacing=\"0\" cellpadding=\"6\" width=\"95%\" align=\"center\" border=\"0\" style=\"border-right: #cccccc 1px dotted; table-layout: fixed; border-top: #cccccc 1px dotted; border-left: #cccccc 1px dotted; border-bottom: #cccccc 1px dotted\">\n<tbody>\n<tr>\n<td bgcolor=\"#f3f3f3\" style=\"word-wrap: break-word\"><font style=\"font-weight: bold; color: #990000\">\u4ee5\u4e0b\u662f\u5f15\u7528\u7247\u6bb5\uff1a<\/font><\/p>\n<p><font face=\"Verdana\">\/\/CODE BY \u5c0f\u8377\u3000aston314@sohu.com<br \/>\n            \/\/ Create the HTML message to display.<br \/>\n            var html = &quot;&quot;;<br \/>\n            &nbsp;&nbsp;&nbsp; html += &quot;&lt;html&gt;&lt;head&gt;&lt;title&gt;\u8fd0\u884c\u7a97\u53e3&lt;\/title&gt;&lt;\/head&gt;&lt;body&gt;&quot;;<br \/>\n            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; html += &quot;&lt;font face=verdana&gt;&lt;\/font&gt;&quot;;<br \/>\n            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; html += &quot;&lt;\/body&gt;&lt;\/html&gt;&quot;;<\/font><\/p>\n<p>            <font face=\"Verdana\"><\/p>\n<p>\n            \/\/ Create Internet Explorer Object<br \/>\n            ie = new ActiveXObject(&quot;InternetExplorer.Application&quot;);<\/p>\n<p>\/\/ Define how the window should look<br \/>\n            ie.left&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = 50;<br \/>\n            ie.top&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = 50;<br \/>\n            ie.height&nbsp;&nbsp;&nbsp;&nbsp; = 510;<br \/>\n            ie.width&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = 470;<br \/>\n            ie.menubar&nbsp;&nbsp;&nbsp; = 0;<br \/>\n            ie.toolbar&nbsp;&nbsp;&nbsp; = 0;<\/p>\n<p>\/\/ Set the browser to a blank page<br \/>\n            ie.navigate(&quot;http:\/\/www.blueidea.com\/&quot;);<\/p>\n<p>\/\/ Show the browser<br \/>\n            ie.visible=1;<\/p>\n<p>\/\/ Open a stream and write data.<br \/>\n            \/\/ie.document.open;<br \/>\n            \/\/ie.document.write( html );<br \/>\n            \/\/ie.document.close;<\/p>\n<p>            <\/font><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u4f60\u4e5f\u53ef\u4ee5\u53d6\u4efb\u4f55\u540d\u79f0\uff0c\u4f46\u540e\u7f00\u540d\u4e00\u5b9a\u8981\u662fjs\uff0c\u5728\u8fd9\u91cc\u6211\u4eec\u53d6\u540ddo.js\u3002<\/p>\n<p>\u8fd9\u91cc\u4e0d\u5bf9\u6587\u4ef6\u4e2d\u7684\u4ee3\u7801\u8fdb\u884c\u89e3\u8bf4\u3002<\/p>\n<p>\u53ea\u8981\u628a\u4e0a\u9762\u6587\u4ef6\u4e2d\u7684\u6240\u6709\u3000<a rel=\"nofollow\" href=\"http:\/\/www.blueidea.com\/bbs\">http:\/\/www.blueidea.com\/<\/a>\u3000\u6362\u6210\u4f60\u8981\u6267\u884c\u7684ASP\u6587\u4ef6\u7684URL\u5730\u5740\u5c31\u53ef\u4ee5\u4e86\u3002\u8fd9\u91cc\u662fURL\u5730\u5740\uff0c\u800c\u4e0d\u662f\u7edd\u5bf9\u5730\u5740\u3002<\/p>\n<p>\u7136\u540e\u6253\u5f00 <a rel=\"nofollow\" class=\"wordstyle\" href=\"http:\/\/www.newasp.cn\/\" target=\"_blank\">WINDOWS<\/a> \u7684\u4efb\u52a1\u8ba1\u5212\uff0c\u5c31\u8c61\u9009\u62e9\u4efb\u4f55\u53ef\u6267\u884c\u6587\u4ef6\u4e00\u6837\u9009\u62e9\u4e0a\u9762\u4e00\u4e2ado.js\u6216\u8005do.vbs\u6587\u4ef6\u6240\u5728\u7684\u4f4d\u7f6e\uff0c\u8bbe\u5b9a\u6267\u884c\u65f6\u95f4\u7b49\uff0c\u786e\u5b9a\u5c31\u53ef\u4ee5\u4e86\u3002<\/p>\n<p>\u7136\u540e\u8fd9\u4e2aASP\u6587\u4ef6\u5c31\u53ef\u4ee5\u88ab\u4efb\u52a1\u8ba1\u5212\u5b9a\u65f6\u7684\u8fd0\u884c\u4e86\uff0c\u7b80\u5355\u5427\u3002<\/p>\n<p>\u5c31\u5982\u5f00\u5934\u6240\u8bf4\u7684\uff0c\u4efb\u52a1\u8ba1\u5212\u5c31\u53ef\u4ee5\u5728\u65e9\u4e0a9\u70b9\uff0c\u6267\u884c\u8fd9\u4e2aASP\u6587\u4ef6\uff0c\u628a\u7535\u8868\u7684\u8bfb\u6570\u6536\u96c6\u5230\u3000MS SQL\u3000\u4e2d\u4e86\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5728\u4e00\u5b9a\u7684\u65f6\u5019\uff0c\u8981\u5b9a\u65f6\u7684\u8fd0\u884c\u67d0\u4e2aASP\u6587\u4ef6\u53bb\u6267\u884c\u4e00\u4e2a\u4efb\u52a1\uff0c\u5982\u4e00\u4e2a\u5de5\u5382\u5728\u65e9\u4e0a\uff19\u70b9\u949f\u8981\u91c7\u96c6\u6240\u6709\u7684\u7535\u8868\u7684\u8bfb\u6570\uff0c\u5f53\u7136\u8fd9\u8981\u901a\u8fc7IN SQL\u8fde\u63a5\u5230\u5404\u4e2a\u7535\u8868\u4e2d\uff0c\u6211\u4eec\u73b0\u5728\u5c31\u662f\u7528\u4e00\u4e2aASP\u6587\u4ef6\u628aIN SQL\u4e2d\u8868\u7684\u8bfb\u6570\u518d\u96c6\u4e2d\u5230MS SQL\u4e2d\u3002 \u53ef\u80fd\u4f60\u770b\u5230\u7684\u5b9a\u65f6\u8fd0&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"topic":[],"class_list":["post-229","post","type-post","status-publish","format-standard","hentry","category-technology"],"_links":{"self":[{"href":"http:\/\/www.xiaoyebailong.com\/index.php\/wp-json\/wp\/v2\/posts\/229","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.xiaoyebailong.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.xiaoyebailong.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.xiaoyebailong.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.xiaoyebailong.com\/index.php\/wp-json\/wp\/v2\/comments?post=229"}],"version-history":[{"count":1,"href":"http:\/\/www.xiaoyebailong.com\/index.php\/wp-json\/wp\/v2\/posts\/229\/revisions"}],"predecessor-version":[{"id":66114,"href":"http:\/\/www.xiaoyebailong.com\/index.php\/wp-json\/wp\/v2\/posts\/229\/revisions\/66114"}],"wp:attachment":[{"href":"http:\/\/www.xiaoyebailong.com\/index.php\/wp-json\/wp\/v2\/media?parent=229"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.xiaoyebailong.com\/index.php\/wp-json\/wp\/v2\/categories?post=229"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.xiaoyebailong.com\/index.php\/wp-json\/wp\/v2\/tags?post=229"},{"taxonomy":"topic","embeddable":true,"href":"http:\/\/www.xiaoyebailong.com\/index.php\/wp-json\/wp\/v2\/topic?post=229"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}