I have a vb app that I have ran for about a year but now that it is on Windows 2000 it is giving me an error.

Kelly = Shell("c:\test.bat", 1)
AppActivate Kelly

This code was working but now I get an invalid porcedure call error on the AppActivate Kelly.

It is returning a proper value to. I dont know.

Can anyone help?