Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Resizing a bunch of pictures
Message
 
To
05/11/2003 09:23:58
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00846319
Message ID:
00846446
Views:
29
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform