www.codinghillbilly.com   kyle.baley.org  Subscribe / Contact
 
 
 
 
LATEST POSTS
Monday, January 15, 2007

Yes, apparently this is still possible to do on cue. The attached file will do it and here's how:

  • Click the button and wait for the web page to load
  • Switch to either Sheet2 or Sheet3

That's it, kiddies. You're very own spreadsheet that politely asks if it can send details on your porn collection to Microsoft when it crashes.

Info on the spreadsheet for you paranoid delusionals: It contains three sheets. Sheet1 contains a Microsoft Web Browser control and a command button. The other two sheets are blank.

It is free from virii to the best of my knowledge. There is a macro in it, the one that loads the web page when you click the button. It's contents in their entirety are as follows:

   Private Sub CommandButton1_Click()
      WebBrowser1.Navigate2 "www.google.com"
   End Sub

The GPF appears to occur only if an element on the web page you load has focus at the time you switch sheets. As luck would have it, the fine folks at Google set focus to the textbox for you when the page loads but if you substitute a different web page that doesn't do this, you won't get the error unless you click in a textbox first. Haven't tested with other form elements.

Enjoy! I know I did while researching this problem!

GPF.xls (21 KB)

Disclaimer
The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.

Copyright © 2008 Kyle Baley. All rights reserved.
 
LATEST POSTS
 
POPULAR POSTS
 
LINKS
 
BLOG ROLL
 
CATEGORIES
 
ARCHIVE