General discussion

  • Creator
    Topic
  • #2310293

    Win32 API Programming

    Locked

    by kamalakannans ·

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

All Comments

  • Author
    Replies
    • #3451873

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

    • #3522679

      Win32 API Programming

      by kamalakannans ·

      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.

    • #2683705

      Reply To: Win32 API Programming

      by ytvsoftware ·

      In reply to Win32 API Programming

      Yes, it can be done.

Viewing 2 reply threads