Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Mobile Development
  3. Mobile
  4. How to Detect file opening / close in compact framework

How to Detect file opening / close in compact framework

Scheduled Pinned Locked Moved Mobile
databasetutorial
4 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • N Offline
    N Offline
    nuttynibbles
    wrote on last edited by
    #1

    Hi, Is there a way to detect file opening / close. When a file is clicked to open, before the mobile phone launch the respective application (e.g. word doc, window media player, etc etc), my system will need to do an operation. Same thing for file close. When the file is completely close, do something to the file. I did a bit of research. Firstly, IMessageFilter won't work because it only detect mouse event on the form. Opening a file in \My Documents or anywhere else outside the form would not trigger the PreFilterMessage Secondly, Event Hook in CF does not support mouse event. It only work with Keyboard. I am sure there is a alternative solution out there. Hope to hear from someone soon. its pretty urgent

    N 1 Reply Last reply
    0
    • N nuttynibbles

      Hi, Is there a way to detect file opening / close. When a file is clicked to open, before the mobile phone launch the respective application (e.g. word doc, window media player, etc etc), my system will need to do an operation. Same thing for file close. When the file is completely close, do something to the file. I did a bit of research. Firstly, IMessageFilter won't work because it only detect mouse event on the form. Opening a file in \My Documents or anywhere else outside the form would not trigger the PreFilterMessage Secondly, Event Hook in CF does not support mouse event. It only work with Keyboard. I am sure there is a alternative solution out there. Hope to hear from someone soon. its pretty urgent

      N Offline
      N Offline
      nuttynibbles
      wrote on last edited by
      #2

      seems like im not getting response for this. hmm is this feasible? otherwise i will probably think of another plan.

      W 1 Reply Last reply
      0
      • N nuttynibbles

        seems like im not getting response for this. hmm is this feasible? otherwise i will probably think of another plan.

        W Offline
        W Offline
        Wamuti
        wrote on last edited by
        #3

        Maybe it's a good idea to think of a new plan but posting

        nuttynibbles wrote:

        seems like im not getting response for this. hmm is this feasible?

        is definately uncalled for.

        Wamuti: Any man can be an island, but islands to need water around them! Edmund Burke: No one could make a greater mistake than he who did nothing because he could do only a little.

        N 1 Reply Last reply
        0
        • W Wamuti

          Maybe it's a good idea to think of a new plan but posting

          nuttynibbles wrote:

          seems like im not getting response for this. hmm is this feasible?

          is definately uncalled for.

          Wamuti: Any man can be an island, but islands to need water around them! Edmund Burke: No one could make a greater mistake than he who did nothing because he could do only a little.

          N Offline
          N Offline
          nuttynibbles
          wrote on last edited by
          #4

          my apology. i have been asking around but with no result. im starting to think it's not feasible but i have seen other application with this feature. i relli hope to apply this feature? it will definitely make alot of different in terms of user friendly. Any idea for this?

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups