Guy's,

Does anybody know why I get error "6 - The handle is invalid" when using the print UDF to print a file that supports printing? Running WinXP SP2 and kix 4.50. Checked if the file might be opened by some other app but that’s not true.

Print() udf

Code:

Print('c:\test.txt')
If @error
"ERROR OCCURED:" @serror
Sleep 3
EndIf



content of the test.txt file:
Code:

bla
some more bla
even more bla
bla bla bla



Edited by Mart (2005-08-17 01:33 PM)
_________________________
Mart

- Chuck Norris once sold ebay to ebay on ebay.