How to release the folder

I want to rename the document's folder aftet get the document Custom Property Values .(In sw2007 VB code)

When I used the swdocumentmgr to get documents Custom Property Values ,and closedoc and set SWdmgr object to

nothing, but the document's folder  is not be released,the folder can not be rename.

How Can i do?Can you help me?

消息编辑者为:sha zhehua

消息编辑者为:sha zhehua

SolidworksApi macros