General discussion

Locked

Win32 API Programming

By Kamalakannan Shanmugam ·
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.)

This conversation is currently closed to new comments.

3 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

Win32 API Programming

by TheTechGuy In reply to Win32 API Programming

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.?

Collapse -

Win32 API Programming

by Kamalakannan Shanmugam In reply to Win32 API Programming

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.

Collapse -

by ytvsoftware In reply to Win32 API Programming

Yes, it can be done.

Back to Web Development Forum
3 total posts (Page 1 of 1)  

Related Discussions

Related Forums