1建立VPN(Virtual Private Network),这样你的电脑和主机的连接就与局域网无异,然后把服务器中mdb文件所在的 Folder共享即可。ADO连接如下:
(以下为引用的内容):
oConn.Open "Provider=Microsoft.Jet.OLEDB.4.0Data
Source=ServerNameDatabaseFolderDatabase.mdbJet OLEDB:Database
Password=databasepwPersist Security Info=False"
2.把Database放在Web Server上,使ADO或RDO通过RDS(Remote Data Service)及IIS来实现:
如果服务器像上面Jave大侠说那样设置了ODBC DSN的话:
下面是代码片段:
(以下为引用的内容):
oConn.Open "Provider=MS Remote" &_
"Remote Server=http://myServerName" &_
"Remote Provider=MSDASQL" &_
"DSN=AdvWorks" &_
"Uid=myUsername" &_
"Pwd=myPassword"
如果设置的是OLE DB Provider 的话:
(以下为引用的内容):
oConn.Open "Provider=MS Remot
function singplay() {var self = this
this.prefix = "sing_play__fm_"
this.playIndex = -1
this.listIndex = { PlayList: 0, MusicBox: 1 }
this.isLogin = false
this.countMusicbox = -1
this.cookieList = { PlayList: this.prefix + "0", MusicBox: this.prefix + "1" }
this.cookie
this.agent
this.init()
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)