forum.vdsworld.com Forum Index forum.vdsworld.com
Visit VDSWORLD.com
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Multi @filedlg for extensions

 
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help
View previous topic :: View next topic  
Author Message
filip
Valued Contributor
Valued Contributor


Joined: 07 Aug 2004
Posts: 340

PostPosted: Tue Nov 25, 2008 10:48 am    Post subject: Multi @filedlg for extensions Reply with quote

I like to use one option that show only this files...
Code:

@filedlg("All files *.*|*.*|Text (*.doc,*.txt,*.rtf)|*.doc,*.txt,*.rtf|",Select File...,,MULTI)


This line do not show any of files if used...Rolling Eyes
Back to top
View user's profile Send private message Send e-mail
DaveR
Valued Contributor
Valued Contributor


Joined: 03 Sep 2005
Posts: 413
Location: Australia

PostPosted: Tue Nov 25, 2008 12:27 pm    Post subject: Reply with quote

The help file is not very clear. But this is what you need to be able to see txt files, or rtf files, or doc files, or all files:

Code:
%f = @filedlg("All files (*.*)|*.*|Text file (*.txt)|*.txt|Rtf file (*.rtf)|*.rtf|Doc file (*.doc)|*.doc",Select File,,MULTI)


If you are trying to be able to see doc, txt and rtf files all at the same time - without seeing any other file types - then I don't think you can do that.

_________________
cheers

Dave
Back to top
View user's profile Send private message
PGWARE
Web Host


Joined: 29 Dec 2001
Posts: 1562

PostPosted: Wed Nov 26, 2008 2:26 pm    Post subject: Reply with quote

Use ; instead of , between file types; you will then be able to view only those types inside the file dialog all at the same time:

Code:

@filedlg("All files (*.*)|*.*|Text (*.doc;*.txt;*.rtf)|*.doc;*.txt;*.rtf",Select File...,,MULTI)
Back to top
View user's profile Send private message
filip
Valued Contributor
Valued Contributor


Joined: 07 Aug 2004
Posts: 340

PostPosted: Sat Nov 29, 2008 11:01 am    Post subject: Reply with quote

You read my mind, and this works... Smile

http://pristyutils.freehost386.com/

New version soon...
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum

Twitter@vdsworld       RSS

Powered by phpBB © 2001, 2005 phpBB Group