Reputation:
Following code starts notepad minimized.
Dim psi As New ProcessStartInfo("notepad")
psi.WindowStyle = ProcessWindowStyle.Minimized
Process.Start(psi)
I need a vb.net code which starts outlook inspector minimized.
or
I need a vb.net code which makes outlook inspector minimized before display.
Upvotes: 0
Views: 159
Reputation: 66215
Do not use Process.Start
- create a new instance of the Outlook.Application
COM object (add a reference to the Outlook type library).
Upvotes: 0