Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to make user input in textbox filename usable
Message
 
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01194377
Message ID:
01196231
Views:
11
>You may need to add something like this:
>IF INLIST( JUSTSTEM(m.lcUpperJustFileName), "AUX", "COM1", "COM2", "COM3", "COM4", "CON", "LPT1", "PRN" )
>	* You can not create a filename that is the same as a reserved DOS device, even if you add an extension.
>	RETURN .F.
>
Good point, I didn't know.
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform