>Do you mean I don't need that DLL or that I don't need to register it?
Don't need to register.
>As for the error, it's on line 7 on the SaveAs() method. Could it be that I cannot pass a full path as a parameter?
You can pass a full path. Do you have a write permission to that folder?
The code in SaveAsJPEG is very clear:
Procedure SaveAsJPEG(tcFileName, tnQuality, tnTransform)
If Vartype(tcFileName) != 'C'
Error 11
EndIf
If !Empty(tnQuality) and (Vartype(tnQuality) != 'N')
Error 11
EndIf
If !Empty(tnTransform) and (Vartype(tnTransform) != 'N')
Error 11
EndIf