可以使用api SetFileTime VB声明 Declare Function SetFileTime Lib "kernel32" Alias "SetFileTime" (ByVal hFile As Long, lpCreationTime As FILETIME, lpLastAccessTime As FILETIME, lpLastWriteTime As FILETIME) As Long 说明 设置文件的创建、访问及上次..
asp的files集合不是数组,所以无法通过索引访问files集合中的项目,也没有提供相关方法进行访问。 解决办法:遍历files对象后将文件名存入数组中。 asp files集合如何通过索引访问对象源代码如下% set fso=server.CreateObject(scripting.filesystemobject) folder=Server.MapPath(.) set fd=fso.GetFolder(folder) set f..
asp生成0~9,a~z的36进制字符串,运行下面示例需要使用IE核心的浏览器,其他非IE核心浏览器不支持vbscriptscript language=vbscriptfunction getinitstring(l)'初始化指定长度的0字符串 l=l-1 for i=0 to l getinitstring=0getinitstring nextend functionfunction getnextchar(chrcode)'获取下一个字符 if chrcode=57 then&..
在csdn看到一个问题,说是asp如何制作发布webservice。一般制作发布webservice很少有用到asp的,用百度google搜索asp如何制作发布webservice基本上没有asp的资料,于是改用google搜索how to create web service by asp,搜索到了Creating Web Services with ASP这篇国外的资料,网址:http://www.4guysfromrolla.com/webtech/070401-1.shtml..
XMLHTTP对象参考XMLHttpRequest提供客户端同http服务器通讯的协议Dim HttpReq As New MSXML2.XMLHTTP30HttpReq.open "GET", "http://localhost/books.xml", FalseHttpReq.sendMsgBox HttpReq.responseText备注客户端可以通过XmlHttp对象(MSXML2.XMLHTTP.3.0)向http服务器发送请求并使用微软XML文档对象模型Microsoft XML Document Object Model ..
如果您的 Web 应用程序包括要在多个页之间共享的代码,您可以将代码保存在 Web 应用程序根目录下的两个特殊文件夹(Bin 文件夹和 App_Code 文件夹)中的某个文件夹中。 Bin 文件夹 可以在 Bin 文件夹中存储编译的程序集,并且 Web 应用程序任意处的其他代码(如页代码)会自动引用该文件夹。典型的示例是您为自定义类编译好的代码。您可..
In Part 1 we looked at how to create a Web service using VisualBasic 6.0 and the SOAP Toolkit 2.0. In this part we'll examine the files created by the SOAP Toolkit wizard. In the third and final part we'll look at how to create a Web service client - a component that can access the Web service created in Part 1..
首先,引用System.Management;然后在代码中Imports System.Management;'获得硬盘序列号 Dim cmicWmi As New System.Management.ManagementObjectSearcher("SELECT * FROM Win32_DiskDrive") Dim Uint32 As UInt32 For Each cmicWmiObj As ManagementObject In cmicWmi.Get Uint32 = cmicWmiObj("signature") Next TextBox1.Text = Uint32...