- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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!!!
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page