Monday, January 23, 2006

Running executables from Internet Explorer

My friend John has solved a problem I was unable to solve two years ago: how to run an executable from Internet Explorer without meeting any warning messages on your way.

I wanted to create a easily customised application menu for my students. Eventually I wrote it in Visual Basic.

Here is a web page that will run Excel when you click the button:












Two things (click Log in as a guest) has to done to IE for this to work for any web server. I used http://localhost to test the idea.

1. Tools - Internet Options - Security - Trusted sites - Sites - Uncheck 'Require server verification ...' - Type 'http://localhost' and click the Add button - OK - OK.

2. Tools - Internet Options - Security - Custom Level - Enable 'Initialize and script ActiveX controls not marked as safe.

The second part is a bit scary. What kind of unsafe code may now run on my machine?