Navin Pai
August 21st, 2000, 12:46 PM
I'm using the Microsoft ActiveX Data Objects 2.5 Library. The following code fails to delete the directory I just created. My "DeleteRecord" call does not seem to work right (i.e. the call succeeds without error, but the directory itself does not get deleted).
Dim rec As New ADODB.Record
rec.Open "http://[myserver]/[existing_folder]/newfolder/", ,adModeReadWrite, adCreateCollection Or adOpenIfExists
rec.DeleteRecord
rec.Close
Set rec = Nothing
Note that the http folder "http://[myserver]/[existing_folder]/" already exists. The "Newfolder" is created, but refuses to be deleted.
Any help will be appreciated...
Navin
Dim rec As New ADODB.Record
rec.Open "http://[myserver]/[existing_folder]/newfolder/", ,adModeReadWrite, adCreateCollection Or adOpenIfExists
rec.DeleteRecord
rec.Close
Set rec = Nothing
Note that the http folder "http://[myserver]/[existing_folder]/" already exists. The "Newfolder" is created, but refuses to be deleted.
Any help will be appreciated...
Navin