How to Detect the Currently Opened Files in VB.net for Media Centre

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • zahidmahmood
    New Member
    • Jan 2012
    • 2

    How to Detect the Currently Opened Files in VB.net for Media Centre

    I am using this class https://vmccontroller.svn.codeplex.c...ctOpenFiles.cs to check that file is open or not from my application. Everything works fine but it gives below error:
    "ObjectDisposed Exception: Safe handle has been closed"
    After getting this exception i am not able to end application process even in task manager by calling end Process. I have refered all the code in class but not able to identify where it uses disposed object again.
    1) How to resolve this error?
    2) This function works only on Xp machine. When i test this code on vista64bit, OpenFiles enumerator gives nothing value. i m already check http://bytes.com/topic/visual-basic-...re#post3698930 this thread but same problem also there
Working...