Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
DzClass CheckForFile
Message
 
 
To
13/06/2002 09:27:31
Lutz Scheffler (Online)
Lutz Scheffler Software Ingenieurbüro
Dresden, Germany
General information
Forum:
Visual FoxPro
Category:
Third party products
Miscellaneous
Thread ID:
00667829
Message ID:
00667903
Views:
20
>
>
>Do you have a reason against:
>
>PROTECTED PROCEDURE CreatePath
> LPARAMETERS;
>  tcPath
>
> IF !DIRECTORY(tcPath) THEN
>  MKDIR ALLTRIM(tcPath)
> ENDIF
> RETURN DIRECTORY(tcPath)
>
>ENDPROC
>
>?
>

I like it and will implement in my copy of this class. I would also make changes to the CheckValidPath
...
		lcPath   = addbs(tcPath)
		if not CreatePath(lcPath)
			return ""
		endif
*		lcPath   = addbs(tcPath)
Sorry about "????" returned. It's left from my testing. :)
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform