Solved

Hidden Files in CommonDialog Open

Posted on 1998-09-30
2
279 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
Comment Utility
Thank you
0
 
LVL 2

Accepted Solution

by:
chrisbolt earned 50 total points
Comment Utility
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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

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…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
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…
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…

771 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now