Javascript – Installing VB6 app causes IE6 errors

internet-explorer-6javascriptvb6

I have a VB 6 app that I've inherited, and made some small updates to, but now when it is scripted to install (for SMS, using BITS_INST.exe) and I install it from that script, I get the following javascript error on our portal on links that are attempting to open new windows:

Error: 'window.open(…)' is null or not an object

This app never caused this problem before. It's been installed for years, and was updated just about a year ago without a problem.

Anyone have any ideas?

Best Answer

Some problem solving tips to try:

  • Is it possible to uninstall the app? Does that make Javascript work again?
  • Does the VB app make changes to the registry, or system files?
  • Does this problem happen when installed on another computer?
  • Does this problem happen on another computer without the VB app installed?
  • Does this problem happen on a different browser?
  • Is it coincidence? Has your Portal code been changed?
  • Are you able to compare the current VB app's code with a previous version? What's changed?
  • Is it possible to do what you want a different way?

In my experience if you ask enough questions, and experiment with different scenarios, you'll usually discover what the problem is.

Related Topic