Link to home
Start Free TrialLog in
Avatar of MacRena
MacRenaFlag for United States of America

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.FileSystemObject")
    Set objFileObj = objFileSysObj.Getfile("J:\Inetpub\wwwroot\mywebsite.com\Pub\custfile.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


ASKER CERTIFIED SOLUTION
Avatar of Éric Moreau
Éric Moreau
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of MacRena

ASKER


thanks, emoreau!  i thought so, but i wasn't sure