C:\Program Files\Microsoft Office\念脊瞎销Office\MSACCESS.EXE
差不多只要你没仔神渗改目录地址都差不多的
用vba完成文件夹的复制,需要使用FileSystemObject对象来完成,FileSystemObject的copyfolder方法可以把文件夹从一个地方扒岁裤复制雀瞎到另一个路径。下面是一个示例代码:Private Sub CommandButton1_Click()
Dim fso As Object
Set fso = CreateObject("Scripting.FileSystemObject")
fso.CopyFolder "d:\a", "e:\"春简
Set fso = Nothing
End Sub
用DSN连接并且有用户名和密码:<%
set
conn
=
Server.CreateObject("ADODB.Connection")
conn.open
"/db.mdb","username","password"
%>
用实际判亩的数据库相对衫冲渣路径连接:
<%
Set
conn
=
Server.CreateObject("ADODB.Connection")
Strconn="DRIVER={Microsoft
Access
Driver
(*.mdb)}
"
Strconn=Strconn
&
"或悄DBQ="
&
Server.MapPath("/db.mdb")
conn.Open
Strconn
%>
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)