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
Solved

Hidden Files in CommonDialog Open

Posted on 1998-09-30
2
287 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: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say 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

Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
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…

856 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