Hi,
I'm wondering how to get the file location when I give the program a certain caption.
So for example, I can create test.txt at:
C:\test.txt
I'll open the txt document, and the caption will give me
test.txt - Notepad
My question is, how would I go backwards from the "test.txt - Notepad" caption to obtain that window's actual location, which in this case is C:\test.txt?
I did manage to find an example in Delphi, but no luck finding one in vb. In this example, you give the window's handle:
http://www.delphitricks.com/source-c...ow_handle.html




Reply With Quote