|
-
Nov 8th, 1999, 05:07 AM
#1
Thread Starter
Fanatic Member
How can I determine if some text is a valid file name without a bunch of if's or select case statements? (ex. *.txt invalid, qwerty.txt valid)
------------------
Visual Basic Programmer (at least I want to be one)
------------------
PolComSoft
You will hear a lot about it.
-
Nov 8th, 1999, 05:49 AM
#2
Why worry about it? If you are concerned with not being able to find the file, why not have an error message that says something like "File name not found or file name not valid".
------------------
Marty
-
Nov 8th, 1999, 05:51 AM
#3
Thread Starter
Fanatic Member
Ok, I'm trying to SAVE that file not find it and I don't want to have error message in VB that this file name is invalid that's why I want to check it first
------------------
Visual Basic Programmer (at least I want to be one)
------------------
PolComSoft
You will hear a lot about it.
-
Nov 8th, 1999, 06:11 AM
#4
Hyperactive Member
Use MS Common Dialog!!!
------------------
Tom Young, 14 Year Old
[email protected]
ICQ: 15743470
AIM: TomY10
PERL, JavaScript and VB Programmer
-
Nov 8th, 1999, 08:50 AM
#5
Thread Starter
Fanatic Member
I don't want to. I would need to add some things to Comm. Dial. I have to do my own thing.
------------------
Visual Basic Programmer (at least I want to be one)
------------------
PolComSoft
You will hear a lot about it.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|