Herfried
Mon Nov 29 12:19:15 CST 2004
"Charles A. Lackman" <Charles@CreateItSoftware.net> schrieb:
> I have an application that starts notepad.exe from a button click in
> VB.NET. I am looking for a way to make the window maximize or minimize
> from the vb app.
For example:
\\\
Call Shell("notepad", AppWinStyle.MaximizedFocus)
///
- or -
\\\
Dim psi As New ProcessStartInfo
With psi
.FileName = "notepad"
.WindowStyle = ProcessWindowStyle.Maximized
End With
Process.Start(psi)
///
--
M S Herfried K. Wagner
M V P <URL:
http://dotnet.mvps.org/>
V B <URL:
http://dotnet.mvps.org/dotnet/faqs/>