Solved

Hidden Files in CommonDialog Open

Posted on 1998-09-30
2
288 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
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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
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…

735 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