Sign in to follow this  
Followers 0
greggklein

How to open 2 files?

1 post in this topic

#1 ·  Posted (edited)

THIS IS THE SHORT OF IT:

I want to play a sound file the corresponds to a word in a list where the user chooses the spelling list file.

I know how to make it work when I know which list they are choosing. It works perfectly.

However, I need to know how to reference both files when the user chooses the spelliing list.

Here is the structure:

I have a directory called A in two different places:

let's say

mylists\A

and mysounds\A

In the mylist\A there is a text file with spelling words.

In the mysounds\A there are sound files that correspond to each word.

1.wav corresponds to the first word in the spelling list.

If A is not fixed but chosen by the user using FileOpenDialogue(), I just need to know how to reference both(word and WAV when in different directories.)

If it is easier to put both in mylists\A I would appreciate that soultion also.

THANKS

Edited by greggklein

Share this post


Link to post
Share on other sites



Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0