dmaroff
asked on
GetOpenFileName( )
Im using GetOpenFileName() to pull in one or multiple files from a user. The problem is how do I go about parsing the "strFile" field in the OPENFILENAME structure, since it contains many embedded strings?
For example if the user choose "hello.txt and "goodbye.txt" in the "c:\words" folder the string would look like this...
"c:\words\hello.txt"goodby e.txt""
if the user just chose "hello.txt" in the "c:\words" folder the string would look like this...
"c:\words\hello.txt"
Whats a good algrorithm to use to end up with this...
MyString1 = "c:\words\hello.txt"
MyString2 = "c:\words\goodbye.txt"
Thanks,
-Dan
For example if the user choose "hello.txt and "goodbye.txt" in the "c:\words" folder the string would look like this...
"c:\words\hello.txt"goodby
if the user just chose "hello.txt" in the "c:\words" folder the string would look like this...
"c:\words\hello.txt"
Whats a good algrorithm to use to end up with this...
MyString1 = "c:\words\hello.txt"
MyString2 = "c:\words\goodbye.txt"
Thanks,
-Dan
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Your code worked beautifully.
Thanks a lot,
-Dan
Thanks a lot,
-Dan
ASKER
Thanks,
-Dan