Discussion Locked

Win32 API Programming

0 helpful
3 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

I want to get the file names (with full path) which are opened in the desktop. For Example if I am working in two files "c:\test\test.txt" and "D:\Documents\resume.doc", I should be able to get the names of the files in whidh I am working. Is it possible through VB API Programming?
(At present I have got the windowtext and its corresponding process. But I need the file path.)

3 replies

by thetechguy

Could you clarify how these two files get to be passed to you? As string? And please explain what do you mean by the WindowText, etc.?

by kamalakannans

1) Yes, I need the name of the active file as string.
2) The "WindowText" mentioned by me eas the title of the active file.

This discussion is closed to new replies.