Error when dowlaoding a new video for a game that already has one.

Issue #1102 resolved
Former user created an issue

For super mario, I downloaded the advert and I wanted to change that to high quality gameplay. The program asked if I wanted to overwrite and I said yes and it errored out.

Below is a copy of the error:

System.IO.IOException: The process cannot access the file 'C:\LaunchBox\Videos\Nintendo Entertainment System\Super Mario Bros..mp4' because it is being used by another process. at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) at System.IO.File.InternalDelete(String path, Boolean checkHost) at (DownloadImagesForm , Object , EventArgs ) at LaunchBox.Forms.DownloadImagesForm.downloadButton_Click(Object sender, EventArgs e) at System.Windows.Forms.Control.OnClick(EventArgs e) at System.Windows.Forms.Button.OnClick(EventArgs e) at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent) at LaunchBox.Controls.CustomButton.OnMouseUp(MouseEventArgs mevent) at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks) at System.Windows.Forms.Control.WndProc(Message& m) at System.Windows.Forms.ButtonBase.WndProc(Message& m) at System.Windows.Forms.Button.WndProc(Message& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

Comments (2)

  1. Michael Fitch

    I got the same error when downloading a video from EmuMovies to overwirte an existing file using Edit Game/Downioad Images/Media. This appears to happen if I have the Details panel open and the video to be replaced is playing. If I close the Details panel then I can download and overwrite the video file.

    Launchbox: version 6.4 beta 2 Windows 10 Home

    ERROR MESSAGE: System.IO.IOException: The process cannot access the file 'F:\LaunchBox\Videos\Nintendo GameCube\The Adventures of Jimmy Neutron Boy Genius_ Attack of the Twonkies.mp4' because it is being used by another process. at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) at System.IO.File.InternalDelete(String path, Boolean checkHost) at (DownloadImagesForm , Object , EventArgs ) at LaunchBox.Forms.DownloadImagesForm.downloadButton_Click(Object sender, EventArgs e) at System.Windows.Forms.Control.OnClick(EventArgs e) at System.Windows.Forms.Button.OnClick(EventArgs e) at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent) at LaunchBox.Controls.CustomButton.OnMouseUp(MouseEventArgs mevent) at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks) at System.Windows.Forms.Control.WndProc(Message& m) at System.Windows.Forms.ButtonBase.WndProc(Message& m) at System.Windows.Forms.Button.WndProc(Message& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

  2. Log in to comment