Solved

Hidden Files in CommonDialog Open

Posted on 1998-09-30
2
291 Views
Last Modified: 2010-04-30
1. How can you instruct the open CommonDialog not to display certain kinds of files such as Hidden files etc. ?

2. I am creating some RAN (Random access files) and saving them on a certain directory. Is there a way I could give these filename an extention so that I can have an easier time manipulating them ?
0
Comment
Question by:hazem0
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 

Author Comment

by:hazem0
ID: 1437526
Thank you
0
 
LVL 2

Accepted Solution

by:
chrisbolt earned 50 total points
ID: 1437527
As for the CommonDialog question, that control uses the user's Windows Explorer configuration. If the user has Windows Explorer configured to show hidden files, it will and vice versa. If you would like a dialog to always hide hidden files, use the Intrinsic FileListBox control and make your own dialog box. That control gives you more power over which files are displayed when it comes to their attributes.

And for the Random access files, you should be able to specify the extension in the Open call, assuming you are using that call:

Open "C:\Whatever\myrandomfile.RAN" for Random Access As #1

RAN is the extension, obviously :-)
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…
Suggested Courses
Course of the Month6 days, 12 hours left to enroll

636 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question