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);

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);

Thank you, I will do that.

Thank you for this help.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.