Using Visio InterOp in VB.Net - Loading Visio silently

  • Thread starter Thread starter Dean Richardson
  • Start date Start date
D

Dean Richardson

Hello,

I am having problems loading the visio application silently. When I
load word in the background in VB.NET, it remains hidden and the user
doesn't know its loaded.

However, when I load Visio in the background, the window pops up and
then disappears. Is this a fault with the visio interop libraries, or
can this be fixed?

At the moment, I am using the same code that opens word to open visio.

Is there a better way to open visio in VB.NET?

Thanks in Advance.

Dean
 
I've the same problem
I'd like to create a Visio Document silently but Visio is opened!!!

This is my code:

Dim vApp As Microsoft.Office.Interop.Visio.Application
Dim vDoc As Microsoft.Office.Interop.Visio.Document
vApp = New Microsoft.Office.Interop.Visio.Application
vDoc = vApp.Documents.Add("")
vDoc.SaveAs("c:\temp\Item1.vsd")
vDoc.Close()
vApp.Quit()
vDoc = Nothing
vApp = Nothing
 
Back
Top