file & dir boxes

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?
Who is Participating?
AzraSoundConnect With a Mentor Commented:
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"

markyvtAuthor Commented:
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.