Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.

how to create a file browsing box

kzhu
Beginner
672 Views
Hi experts,

I want to bring out a file choosing dialog box to the user, so that he/she can choose a file without typing its name. I am wondering whether there is built-in function of Visual Fortran, or is there any ActiveX ready for use. How to use it?

Thank you very much,

beginner
0 Kudos
2 Replies
Steven_L_Intel1
Employee
672 Views
There is a CVF sample program called GETOPENFILENAME that demonstrates this - it uses the GetOpenFileName Win32 API routine.

Steve
0 Kudos
Jugoslav_Dujic
Valued Contributor II
672 Views
My [http://www.geocities.com/jdujic/fortran/xft/xfthome.htm]XFTLite[/url] package contains a wrapper around GetOpenFileName, called XGetOpenFile, which is simpler to use.

Jugoslav
0 Kudos
Reply