Severing the Connection
Prior to terminating any connection between Visio and Outlook, you need to ensure that you have logged off of Outlook. This is accomplished by using the Logoff method of the NameSpace object. The syntax is
OtlkObjNmeSpc.Logoff
To terminate the connection between Visio and Outlook, you simply need to quit Outlook as in
otlkObjApplication.Quit Set otlkObjApplication = Nothing
The final line ensures that the Outlook application object goes out of scope and is removed from memory as well as all objects under the application object.
In the next chapter, you will learn about the packaging and deployment of Visio solutions. You will learn about the installation considerations, about Visio as an active document, and how Visio ...
Get Professional Development with Visio® 2000 now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.