Welcome to the fracta.net forum!

Share your coding ideas or ask questions.

Question Excel VBA to kill Avaya server instances

More
12 years 11 months ago - 12 years 11 months ago #5 by roller
If you are trying to automate Avaya CMS thru Excel VBA and your script is hanging due to a build up of servers instances in Windows Task manager then this might help. It will probably only happen if the Avaya application is running at the same time as running my script.

The possible solution is to terminate all objects using the below code at the end of your script. I tried it few times and it worked. The server instances will terminate properly at the end of the script.


cvsApp.Servers.Remove cvsSrv.ServerKey
cvsCon.Logout
cvsCon.Disconnect
cvsSrv.Connected = False
Set Log = Nothing
Set Rep = Nothing
Set cvsSrv = Nothing
Set cvsConn = Nothing
Set cvsApp = Nothing
Last edit: 12 years 11 months ago by roller.

Please Log in or Create an account to join the conversation.

Time to create page: 0.973 seconds
Powered by Kunena Forum