Hi Nick,
I'm not sure what might be causing the problem but it sounds like the qPrint object is failing to be created. When the code reaches the With block, qPrint is Nothing. There are a couple of common causes:
- A service pack issue - qPrinter was written using SP6 and I'm fairly certain that is what you are using.
- The Reference to the qPrinter.dll is missing/inaccurate. From the Project>References ... menu browse to the most recently compiled version. It may be worth compiling the latest version first.
I'm aware you have the same issue with the test project, so it may be worth opening the test project group, setting VB to break on all errors and seeing if there is a specific error in the ActiveX DLL. The Class_Initialise routine has an 'On Error Resume Next' which may be ignoring an issue that needs addressing.
If their is an error, let me know either here or by mail and I'll see if I can find a solution.
Regards
Edward
[qbd software ltd]