Converting an invalid filename to a valid one 
Author Message
 Converting an invalid filename to a valid one

Is there a way to convert an invalid filename to one that VB4 Win95 can work
with?

say I want to open "Star Trek: The Next Generation" for output, VB gives me
an error because it has an invalid character (the colon). Is there a way,
other then searching through the file for all invalid characters and then
removing them using the MID statement?

Thanks, Bodi



Mon, 26 Jun 2000 03:00:00 GMT  
 Converting an invalid filename to a valid one

Try enclosing the entire filename in double quotes



Tue, 27 Jun 2000 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Convert long filenames to short filenames

2. Convert Long Filenames to Short Filenames in VB4 16-Bit

3. Converting long filenames to short filenames in VB4.0 16-bit

4. DOS wildcard, *, not valid with .FileName?

5. valid filenames for shell functions?

6. Valid Filenames?

7. Checking for valid filename

8. Detecting if a filename is a valid picture file

9. check string as valid filename

10. API to test for valid filename?

11. Valid FileName

12. Help, Invalid property Valid of color

 

 
Powered by phpBB® Forum Software