Running a TWebBrowser program *without* IE 4 or better
Posted on 2002-05-24
I have an application written in Delphi 4 Pro and on the main form I have a TWebBrowser ActiveX control that is created dynamically in FormCreate. Now I understand that TWebBrowser requires a minimum of IE 4 to operate correctly. So, what would happen if the end user runs my deployed program on a computer that has an old version of IE (less than 4, or even doesn't have IE installed at all)? Will the program crash? Will it display an error message (if so what and is the message meaningful to the end user?)? Will the program exit gracefully?
What is the best way to handle this situation? Ideally, I would like do display a meaningful error message if IE 4 or better isn't installed and exit gracefully. I could add some code to check, but I think that Delphi might not even get as far as running the code to check that IE 4 or better isn't installed on the target PC(?).