1

Hi,

I have a task where I programatically will open 2 Explorer Windows in a minimized mode.
I have searched and the code I have come up with looks correct to me but what happens is that these 2 browser windows do open in a Normal mode.

That will be my first task to understand how to do.

using namespace System::Diagnostics;

    ProcessStartInfo^ startInfo = gcnew ProcessStartInfo("IExplore.exe", "www.lycos.com");
    startInfo->WindowStyle = ProcessWindowStyle::Minimized;
    Process::Start(startInfo);

    ProcessStartInfo^ startInfo2 = gcnew ProcessStartInfo("IExplore.exe", "www.yahoo.com");
    startInfo2->WindowStyle = ProcessWindowStyle::Minimized;
    Process::Start(startInfo2);

Edited by Lukezzz: n/a

2
Contributors
3
Replies
4
Views
7 Years
Discussion Span
Last Post by Lukezzz
0

I have tried to search google but cant another solution of how to open a browser window in a minimized mode.

This code does open the browserwindow normally wich is wrong.
I am not sure I can figure this out. Thank you.

using namespace System::Diagnostics;

ProcessStartInfo^ startInfo = gcnew ProcessStartInfo("IExplore.exe", "www.yahoo.com");
startInfo->WindowStyle = ProcessWindowStyle::Minimized;
Process::Start(startInfo);

Edited by Lukezzz: n/a

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.