Are you using the share name?

I believe you can delete all printer connections with DeletePrinterConnection("").
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.