VB6 中 Set xxx = Nothing 什么意思?该怎么处理

VB6 中 Set xxx Nothing 什么意思?在VB6中,一般 Set xxx Nothing 起到什么作用?Dim ConnDim RecoSet C

VB6 中 Set xxx = Nothing 什么意思?
在VB6中,一般 Set xxx = Nothing 起到什么作用?

    Dim Conn
    Dim Reco
    Set Conn = CreateObject("ADODB.Connection")
    Set Rec1 = CreateObject("ADODB.Recordset")

后面一般都需要

    Set Conn = Nothing
    Set Reco = Nothing

它们到底起到什么作用?释放内存?

[解决办法]
将连接的库和记录集清除掉
[解决办法]
取消连接,并释放资源
[解决办法]
不大清楚

[解决办法]

释放实例化的对象。