Hi guys,

I've encountered a problem with an application which occurs on two or three machines (out of several hundred).

I have a function which contains an On Error on the first line. On most PC's this function executes flawlessly. On a couple however, it fails on this line: -

frmMyForm.Tag = ""

The error, which appears to be a compiler error, is as follows: -

MyApp.exe has generated errors and will be closed by Windows. You will need to restart the program.

An error log is being created.

So far, I've tried reinstalling the VB runtime on one of these PC's and ensuring that the application was not compiled on a PC with Service Pack 5 installed as I understand there were problems with this SP.

Any Ideas?

Also, does anyone know where I could get hold of an application that traces function calls as the problem "may" be due to a corrupt DLL which, if the .Tag property calls, would explain the crash (though I find it unlikely that setting a .Tag property would require an external DLL function call).

Cheers in advance,

Rob