|
Ok, lets take it from here then.
I did as such and again I got 002. Only on seperate lines with the verbage you specified. The 2 meaning can not find file specified.
So now answer this. If SetDefaultPrinter can not find file specified then how can SETDEFAULTPRINTER find it and install it.
Also when I move to a W2K machine I get "000" and it works fine.
Also, I HAVE tried to just use "SetDefaultPrinter ("\\FILE\SALES_R1045")" and that doesn't work either. I get a "000" but it doesn't actualy set the printer as default. Also that doesn't explain how this: "SetDefaultPrinter ("SALES_R1045")" does work just fine for W2K.
Are you tring to tell me that W2K requires it one way and WinXP requires it the other way?
Cut and paste: Error 0 - The operation completed successfully. Error 0 - The operation completed successfully. Error 2 - The system cannot find the file specified. Press any key to continue
|