Solved

commondialog problems

Posted on 1999-01-17
2
126 Views
Last Modified: 2010-05-03
The first time in I can view all 20 dat files in the specified folder, select one, and view it.
the second time in, I get ONLY the previous dat file and NO OTHER dat files are showing.
I am using a command button to clear the screen as well as the commondialog.value  to " ", but this is not the answer. How do I clear the field, go back and select another dat file and view it. Will your answer allow me to view all 20 dat files, one at a time ?
0
Comment
Question by:hjaycox
2 Comments
 

Author Comment

by:hjaycox
Comment Utility
Edited text of question
0
 
LVL 10

Accepted Solution

by:
caraf_g earned 50 total points
Comment Utility
Re-set the .Filename property to, for example, *.DAT

Also, look at the .Filter property, you could set that to
"Dat Files (*.DAT)|*.DAT" or something like that.

0

Featured Post

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

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…
Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
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…

762 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

11 Experts available now in Live!

Get 1:1 Help Now