|
|
|
если кому-то интересно, сжатие access из asp
|
|||
|---|---|---|---|
|
#18+
сам столкнулся с такой проблемой.... вроде решение... <% oldFile = "C:\Inetpub\wwwroot\data\it.mdb" newFile = "C:\Inetpub\wwwroot\data\it2.mdb" strConn = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source="& oldFile strConnBak = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & newFile Set objJRO = Server.CreateObject("JRO.JetEngine") objJRO.CompactDatabase strConn, strConnBak Set objJRO = Nothing Set objFSO = Server.CreateObject("Scripting.FileSystemObject") If objFSO.FileExists(newFile) And objFSO.FileExists(oldFile) Then objFSO.DeleteFile(oldFile) objFSO.MoveFile newFile, oldFile 'Response.Write "<font size=""+2"" color=""crimson"">Compact and Repair was successful.</font>" Else 'Response.Write "<font size=""+2"" color=""crimson"">Compact and Repair failed.</font>" End If Set objFSO = Nothing %> ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 14.12.2005, 16:00:47 |
|
||
|
|

start [/forum/topic.php?fid=60&gotonew=1&tid=2166701]: |
0ms |
get settings: |
5ms |
get forum list: |
14ms |
check forum access: |
3ms |
check topic access: |
3ms |
track hit: |
57ms |
get topic data: |
8ms |
get first new msg: |
5ms |
get forum data: |
2ms |
get page messages: |
22ms |
get tp. blocked users: |
1ms |
| others: | 179ms |
| total: | 299ms |

| 0 / 0 |
