Re: VB .NET to open Visio
Look up Process.Start()
It lets you call programs with parameters
Re: VB .NET to open Visio
You could also try the ProcessInfo object as well :)
Re: VB .NET to open Visio
Thank you for your replies.
Using the ProcessStartInfo functionality helps in hiding Visio's splash screen, but in my code I have a variable called:
Public vsoApplication As Microsoft.Office.Interop.Visio.Application
and this variable is used everywhere to enable Visio's functions.
I am having problems associating the newly started visio process that I started using the ProcessStartInfo functionality with the vsoApplication object, so that I can use it in my code.
So is there a way to identify the process type and get the application associated with that type and assign it to the vsoApplication variable?
Can you please help me resolve that?
Thanks.
Re: VB .NET to open Visio
You can use the InvisibleApp class.
Imports Visio = Microsoft.Office.Interop.Visio
Dim vsoApplication As Visio.InvisibleApp
instead of
Dim vsoApplication As Visio.Application