Search the web
Sign In
New User? Sign Up
magicu-l · uniPaaS (Magic) Software Users Group
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Message search is now enhanced, find messages faster. Take it for a spin.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
FileDlg   Message List  
Reply | Forward Message #123187 of 148719 |
Speaking of FileDlg,I have an old thing which I've never solved.
I can specify the folder path to the file but I'd like to pass the
file name as well.
The aim is to allow the user to select a different file but supply a
default value so that he can only hit enter and off he goes.
I was trying to use a hidden default if no file is selected but it's
confusing and no-one liked it.And me neither because then you can't
distinguish it from no selection at all,simply a bad solution.

Any ideas?

pavel




Tue Nov 13, 2007 11:21 pm

gimmeabreakcz
Offline Offline
Send Email Send Email

Forward
Message #123187 of 148719 |
Expand Messages Author Sort by Date

Speaking of FileDlg,I have an old thing which I've never solved. I can specify the folder path to the file but I'd like to pass the file name as well. The aim...
gimmeabreakcz
Offline Send Email
Nov 13, 2007
11:21 pm

This may be too simplistic, but you could init the field with the default filespec, then put a zoom event on the field that calls filedlg... ... [Non-text...
Arch Lineberger
archnc
Offline Send Email
Nov 14, 2007
12:47 am

Hello, Can someone please explain if there is a way to set a default directory when using the FileDLG function in 9.4. Thanks Andy...
magic@...
magic_at_aquari
Offline Send Email
Dec 21, 2007
2:21 am

I dont think we can do that in v9.4! eralph ... ____________________________________________________________________________________ Be a better friend,...
Mr eralph amodia
pare_erap
Offline Send Email
Dec 21, 2007
3:21 am

Yes, There's a solution. when you use Filefld, for example filedlg('doc files','*.doc') try to write it like this: filedlg('doc files','<default...
Thats all folks
thats_all_fo...
Offline Send Email
Dec 21, 2007
5:58 am

Check the archive for Message #76264. Steve Blank gave a very informative explanation of how to use FileDlg()....
Todd Baremore
tbaremor
Offline Send Email
Dec 21, 2007
2:26 pm

That's who I quoted. Can't you tell! ... [Non-text portions of this message have been removed]...
Arch Lineberger
archnc
Offline Send Email
Dec 21, 2007
4:34 pm

For example, to default to the T: drive for .doc files and allow all files as an alternative: FILEDLG ('All Files (*.*)','T:\*.*'&CHR (0)&'Document files ...
Brookes, Alan
alanjbrookes
Offline Send Email
Dec 21, 2007
9:31 am

To expand on Alan's suggestion: The trick is to "overload" the FILEDLG() function's second parameter with multiple pairs of arguments, each separated from the...
Arch Lineberger
archnc
Offline Send Email
Dec 21, 2007
2:02 pm

Thanks Arch. I knew I could rely on you to expand for me ;-) Alan ... From: Arch Lineberger [mailto:Arch.Lineberger@...] Sent: 21 December 2007 14:02 To:...
Brookes, Alan
alanjbrookes
Offline Send Email
Dec 21, 2007
2:37 pm

Having a bit of trouble with the FileDlg function. How do you have it open in a specific directory? Thank You Gary AVIS DE NON-RESPONSABILITE / DISCLAIMER: ...
Gary Petro
anglohwi
Offline Send Email
May 13, 2009
8:48 pm

FileDlg ('Excel Files',Trim (vDocumentsFolder)&'*.xls') HTH Zvi...
zvidev
Offline Send Email
May 13, 2009
8:56 pm

there is a sample program in the files section ... [Non-text portions of this message have been removed]...
magic@...
magic_at_aquari
Offline Send Email
May 13, 2009
9:15 pm

Boy, I can sure see why my Internet connection has slowed down! What a disclaimer, on every email!! :-) Hope you don't start working in other countries and...
Brian Scoffield
hbscoffield
Offline Send Email
May 14, 2009
2:08 pm

Kill all the lawyers and the problem will disappear! ;-) On Thu, May 14, 2009 at 10:08 AM, Brian Scoffield ... -- InControl Systems Belmont, NC USA [Non-text...
Arch Lineberger
archnc
Offline Send Email
May 14, 2009
2:20 pm

Just the Lawyers wont do it. You forget the massive colour intense bitmap proclaiming green credentials. The printing of which is accompanied by the sound of a...
Steven Burrows
doomlord66
Offline Send Email
May 14, 2009
2:31 pm

But Steve, they have _good intentions_. Do consequences matter? On Thu, May 14, 2009 at 10:30 AM, Steven Burrows ... -- InControl Systems Belmont, NC USA ...
Arch Lineberger
archnc
Offline Send Email
May 14, 2009
2:35 pm

Put the path you want in the second argument: FILEDLG ('CSV Files','C:\MYFILES\*.CSV'). You can also make that a variable if you want to capture it each time...
Keith Varner
kovarner
Offline Send Email
May 13, 2009
9:05 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help