I have a two piece application, both written in VB6. A normal front end data entry app and a DLL to handle the calls to the database.
When I run the program using the compiled EXE/DLL and try to update a record, it gives me the following error:
3421 Application uses a value of the wrong type for the current operation.
When I run the code in the VB6 environment to debug it works perfectly. I recompiled both the application and the dll to make sure that I am using the same code as the VB projects and that does not make any difference.
Does anyone have any ideas?
Thanks!
When I run the program using the compiled EXE/DLL and try to update a record, it gives me the following error:
3421 Application uses a value of the wrong type for the current operation.
When I run the code in the VB6 environment to debug it works perfectly. I recompiled both the application and the dll to make sure that I am using the same code as the VB projects and that does not make any difference.
Does anyone have any ideas?
Thanks!