I just show this line from your sample project because it is a small program for evaluation of the problem.
ShellObj.ShellExecute “RUNDLL32.exe”, “PRINTUI.DLL,PrintUIEntry /k /n ““PDFCreator”””, “”, “open”, 1
I have already tested with my program that use other printing method which is working perfectly with Windows 8.1, but not working with Windows 10, got the same error when printing.
Error occurs when printing to PDFCreator from Visual Basic 6 under COM interface.
This is the Windows 10 version and build. Maybe there is problem with this Win 10 build.