jonno

jonno

  • NA
  • 1
  • 0

Browser problems

Jul 7 2008 8:01 AM

Hi Guys,

I am trying to run a console application that opens a web browser.  The tricky bit is that I want the web browser to be locked down, i.e. a set width and height, no scroll bars, no navigation, no toolbar and not resizable.  My (C#) code is as follows:

 

using System;

using System.Collections.Generic;

using System.Text;

using System.Diagnostics;

using System.ComponentModel;

 

namespace LogonMessage

{

    class Program

    {

        static void Main(string[] args)

        {

            Process.Start("IExplore.exe", "www.bbc.co.uk");

       //     Console.ReadLine();

        }

    }

}

 

Have tried various things but can't get them to work.  I know it can be done in javascript when loading a new page, but how about c#???

 

Thanks in advance,

Jon


Answers (2)