as you are using the old kix32.exe, you see the error with by starting cmd.exe/command.com and starting kixtart via console.
when it gives the error, the console will so you it.

what comes to addprinterconnection() it's actually "\\servername\sharename" you should use.

but that does not explain the error.
_________________________
!

download KiXnet