Solved

file & dir boxes

Posted on 2000-04-28
2
168 Views
Last Modified: 2010-05-02
my filebox is named file1 and my dir box dir1.
These commands do i use:
file1.path = dir1
that says that wich dir i select is the path of the files.
But when i create a open button to open a file such as shell=file1 than the path is not found how do i use file1 and dir1 in one command?
0
Comment
Question by:markyvt
2 Comments
 
LVL 28

Accepted Solution

by:
AzraSound earned 10 total points
Comment Utility
the file1.path property will give you the full path to that file

whenever the directory changes use this code:

Private Sub Dir1_Change()
    File1.Path = Dir1.Path
End Sub


to load the file use "file1.path & file1.filename"




0
 
LVL 2

Author Comment

by:markyvt
Comment Utility
Thanx
0

Featured Post

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

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…
Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
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…

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

10 Experts available now in Live!

Get 1:1 Help Now