Hi,
I using a .dll on the server to preform SQL statements. I have a list view that I need to refresh (and call a function in this .dll again to run the select statement). I'm having no problems the first time thru (before refreshing). When I'm going through the code again, once I get to the line where I set my Object:
Set DBDll = CreateObject("DllName.ClassName"
I get the following error:
Operation is not allowed when object is open.
Yet if I don't use that line of code the second time through I get error 91 : Object variable or with block variable not set.
Is there some way that I need to close this object from my .dll? Or something else that might remedy this situation?
Thanks,
Ray
I using a .dll on the server to preform SQL statements. I have a list view that I need to refresh (and call a function in this .dll again to run the select statement). I'm having no problems the first time thru (before refreshing). When I'm going through the code again, once I get to the line where I set my Object:
Set DBDll = CreateObject("DllName.ClassName"
I get the following error:
Operation is not allowed when object is open.
Yet if I don't use that line of code the second time through I get error 91 : Object variable or with block variable not set.
Is there some way that I need to close this object from my .dll? Or something else that might remedy this situation?
Thanks,
Ray