MacRena
asked on
Do I Need To Destroy FileSystemObject?
Hello Experts,
I am writing a utility that creates several Objects
Dim objFileSysObj As Object
Dim objFileObj As Object
Set objFileSysObj = CreateObject("Scripting.Fi leSystemOb ject")
Set objFileObj = objFileSysObj.Getfile("J:\ Inetpub\ww wroot\mywe bsite.com\ Pub\custfi le.DBF")
When everything is all done, do I need to destroy them the way you have to Close and Destroy Database and Recordset objects?
If so, can you please give me the syntax for that?
Thanks,
Mac
I am writing a utility that creates several Objects
Dim objFileSysObj As Object
Dim objFileObj As Object
Set objFileSysObj = CreateObject("Scripting.Fi
Set objFileObj = objFileSysObj.Getfile("J:\
When everything is all done, do I need to destroy them the way you have to Close and Destroy Database and Recordset objects?
If so, can you please give me the syntax for that?
Thanks,
Mac
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
thanks, emoreau! i thought so, but i wasn't sure