Access Right Problem

L

Lorenzo

Hi,
I renamed an audio file and I launched windows media player with
CreateProcess API or with Process.Start method and with parameter the
audio file ,
but when when media player finished and WaitForSingleObject return,
i tried to rename that file audio with no success.

Why?

To rename the file, i tried alternatively with FileInfo.MoveTo and
File.Move.

Thanks in advance for any answer.
 
L

Lorenzo

Could it be that media player is still running?

Yes, but i don't know
how to monitor it and eventually to close it in vb.net?
thanks for your interest.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top