|
-
Feb 21st, 2004, 06:33 AM
#1
Thread Starter
Lively Member
CommonDialog probleme (solved)
Hi, I have a little problem, in my Save Box I don't see any file, even those the file extention I set in the filter property.
CDialog1.DialogTitle = "Créé une nouvelle bibliothèque"
CDialog1.DefaultExt = "dtk"
CDialog1.Filter = "DVD-ROM (*.dtk)|*.dtk |DVD-Video (*.dtv)|*.dtv"
CDialog1.Flags = &H800
CDialog1.ShowSave
When the box open, even the *.dtk and *.dtv are not show. What's the prob please ?
Thanks in advance.
Last edited by choas; Feb 21st, 2004 at 01:19 PM.
-
Feb 21st, 2004, 08:53 AM
#2
Fanatic Member
When I run your code and add some .dtv files to my harddisk, I do see them... Looks like there's nothing wrong with your code...
Author for Visual Basic Web Magazine
-
Feb 21st, 2004, 12:21 PM
#3
Re: CommonDialog probleme
Originally posted by choas
Hi, I have a little problem, in my Save Box I don't see any file, even those the file extention I set in the filter property.
CDialog1.DialogTitle = "Créé une nouvelle bibliothèque"
CDialog1.DefaultExt = "dtk"
CDialog1.Filter = "DVD-ROM (*.dtk)|*.dtk |DVD-Video (*.dtv)|*.dtv"
CDialog1.Flags = &H800
CDialog1.ShowSave
When the box open, even the *.dtk and *.dtv are not show. What's the prob please ?
Thanks in advance.
Are you concerned that the user doesn't see both of the two choices at the same time?
-
Feb 21st, 2004, 01:19 PM
#4
Thread Starter
Lively Member
Ok, it was a stupid error, in fact in this line :
CDialog1.Filter = "DVD-ROM (*.dtk)|*.dtk |DVD-Video (*.dtv)|*.dtv"
you can see a space between *.dtk and |DVD-Video, so visible file were *.dtk_ and not *.dtk.
Sorry but it was so stupid that it took me so much time to find oO
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
|