Rails beginner
Rails beginner

Reputation: 14504

Windows how to create an startup application?

I have a webpage that I want to open every time I startup my pc. The webpage is password protected.

How do I create a desktop startup application, that runs every time the pc is turned on. And that login to the webpage and goes to full screen mode?

I am running windows 7. I now if I create a program that login to a webpage and goes to full screen mode. I can simply put it in the start map.

But how should I create the desktop program?

I am new to windows programming, but I know programring rails.

I haven't created any windows programs before.

I am hoping to get some tips which language it would be the easiest to create this little program with.

Upvotes: 1

Views: 1246

Answers (4)

Chris Becke
Chris Becke

Reputation: 36026

Rather than making one very specific program to do this, it is normally better to do this in two parts:

  1. Choose an existing program (Browser) or write a program that does the basic UI that is needed.

  2. Install it as the shell for a dedicated user account - essentially turning the user account into a "kiosk mode".

KB555463 details the basics of installing IE as the kiosk application.

Upvotes: 1

Khoa Le
Khoa Le

Reputation: 360

If you know hook with C/C++, then you can write a small application which run web browser and paste user/pass in the right textbox by finding it ID. If not, you should try the way Darin mentions above,use c# and webbrowser control.

Upvotes: 0

Barry Kaye
Barry Kaye

Reputation: 7759

Add a web browser to Startup Programs and set its default home page to your password protected webpage.

Upvotes: 0

Darin Dimitrov
Darin Dimitrov

Reputation: 1038820

You could create a WinForms or WPF application and use the WebBrowser control. It's a .NET wrapper around Internet Explorer which allows you to embed into desktop applications. Depending on how your web application tracks authenticated users you could use the following overload of the Navigate method which allows you to send a POST request to a web page and provide the contents of this POST request (such as username and password in your example). This way you will be able to authenticate.

Upvotes: 5

Related Questions