Run-Time Error '5' invalid procedure or argument
Posted on 2002-06-13
A fellow Moderator here created an excellent tool for the Mod team which helps us quickly query the database and find open and locked questions at a userid level so we can post scripts and begin the follow-up process in the cleanup effort. He is unavailable for a while and I need some help quickly, so your "comments" are appreciated very much.
The API worked flawlessly until I upgraded from W98SE to Windows XP. I've modified the registry, moved pertinent .ocx files to the proper directory, downloaded VB6 SP5 runtime and installed it, yet the problem persists. I also modified the API (exe) to run in Windows 98 Compatibility mode, but nothing has fixed the problems I list below:
Query the database (uses Power Search) for MemberIDs I know have open Qs, but the results return as zero found, that's problem one.
Query the database for PAQ items, get results, but can't access; get an immediate response saying:
"Run-Time error '5': Invalid procedure call or argument"
Then the application shuts down.
Found many hits and bugs by others searching MSDN and MS, most said this was a bug in VB5, fixed in VB6. Since I updated my VB runtime, should have been fixed (one would think), but apparently not.
Thanks for your helpful comments.
Moondancer - EE Moderator