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

Read a file from Local disc, Help!

yysome
Beginner
180 Views
I am trying to use theQuickwin to read the file from a local disc. I am intending to have an edit box and a Browse button.So the user can push the Browse button to select a file from the local disc, The file selected will appear in the edit box. This is exactlythe same as the usual windows application.I wonder how can I do that?
Thanks a lot!!!
0 Kudos
1 Reply
Steven_L_Intel1
Employee
180 Views
You can cause a browse window to appear by doing an OPEN with FILE="" and specifying the "Files from command line" (/fpscomp:filesfromcmd) Compatibility option. Another, more flexible choice is to use the GetOpenFileName Win32 API - CVF provides an example of this and it is in the examples on the CVF web site.
I'll let someone else discuss edit boxes.
0 Kudos
Reply