in reply to Hiding .vsd file while reading the file.

The answer to every OLE question is RTFM. How to use OLE automation in Visio
Set AppVisio = CreateObject("Visio.InvisibleApp")
You can then use the Application object's Visible property to control whether the instance is visible.

You can use the InvisibleApp object with only the CreateObject function. Attempts to use it with the GetObject function will fail. The InvisibleApp object is not available in versions of Visio earlier than Microsoft Visio 2000.

Replies are listed 'Best First'.
Re^2: Hiding .vsd file while reading the file.
by Anonymous Monk on Feb 12, 2009 at 13:04 UTC
    Hi Anonymous monk, That works now !! Thanks a lot for that now i have one more quesion to that, i want to know how i can close the Visio object with out killing the visio process. skinamdar.