- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am having a problem using GetOpenFileName subroutine that gives a dialogue to open a file.
The first time I use it it is OK, the second time it shows the directories correctly, then after a second removes from display the directory I previously accessed.
I have checked that OpenFN%lpstrInitialDir is the same in each case.
I wonder if it is because a file has not been closed correctly?
Any ideas?
Thanks, David
The first time I use it it is OK, the second time it shows the directories correctly, then after a second removes from display the directory I previously accessed.
I have checked that OpenFN%lpstrInitialDir is the same in each case.
I wonder if it is because a file has not been closed correctly?
Any ideas?
Thanks, David
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have noticed that the directory does not disapear, it just moves to the end of the list. It is a bit worrying for the user as he/she is expecting to see it in the same place.
This only occurs if the directories are in D:, but is OK in C:, the program I am running is in C:
I still wonder if it's to do with files not being closed.
Regards, David
This only occurs if the directories are in D:, but is OK in C:, the program I am running is in C:
I still wonder if it's to do with files not being closed.
Regards, David

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