Thanks for the quick response.
I have had no joy with either dir=i:\ or isodir=i:\
...
I have had no joy with either dir=i:\ or isodir=i:\
...
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.ArgumentOutOfRangeException: Length cannot be less than zero.
Parameter name: length
at System.String.InternalSubStringWithChecks(Int32 startIndex, Int32 length, Boolean fAlwaysCopy)
at Take2dir.Form1.FindCoverUrl(String imdburl)
at Take2dir.Form1.GetCoverIMDB(String url)
at Take2dir.Form1.GetCover(String url)
at Take2dir.Form1.UpDateFolderCover(String imdburl, String folder)
at Take2dir.Form1.CoverSearch(String folder)
at Take2dir.Form1.listdir(String path)
at Take2dir.Form1.ScrapeIT()
at Take2dir.Form1.btn_dirs_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 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.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3074 (QFE.050727-3000)
CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
CoverCollector
Assembly Version: 1.0.3340.22811
Win32 Version:
CodeBase: file:///N:/Movies/z.Unsorted/!CoverCollector%201.2.0/CoverCollector.exe
----------------------------------------
msvcm90
Assembly Version: 9.0.30729.1
Win32 Version: 9.00.30729.1
CodeBase: file:///C:/Windows/WinSxS/x86_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.1_none_e163563597edeada/msvcm90.dll
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Xml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3074 (QFE.050727-3000)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Configuration
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.
For example:
<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>
When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.
Folder: N:\Movies\Crash and Burn [1990]
Searching for: Crash and Burn [1990]
Checking for TV Serie...
Searching for: Crash and Burn [1990]
Searching for: site:imdb.com inurl:"imdb.com" Crash and Burn
Found imdb link: http://www.imdb.com/title/tt0099313/ Lengde: 36
Checking MoviePosterDB for id: tt0099313
No cover found, Fallback to imdb cover
poster=rg/action-box-title/primary-photo/media/rm1839832320/tt0099313
Folder: N:\Movies\Jury Duty [1995]
Searching for: Jury Duty [1995]
Checking for TV Serie...
Searching for: Jury Duty [1995]
Searching for: site:imdb.com inurl:"imdb.com" Jury Duty
Found imdb link: http://www.imdb.com/title/tt0113500/ Lengde: 36
Checking MoviePosterDB for id: tt0113500
No cover found, Fallback to imdb cover
poster=rg/action-box-title/primary-photo/media/rm301374720/tt0113500
Folder: N:\Movies\Kokoda [2006]
Searching for: Kokoda [2006]
Checking for TV Serie...
Searching for: Kokoda [2006]
Searching for: site:imdb.com inurl:"imdb.com" Kokoda
Found imdb link: http://www.imdb.com/title/tt0481390/ Lengde: 36
Checking MoviePosterDB for id: tt0481390
No cover found, Fallback to imdb cover
poster=rg/action-box-title/primary-photo/media/rm3383464448/tt0481390
Folder: N:\Movies\Stroker Ace [1983]
Searching for: Stroker Ace [1983]
Checking for TV Serie...
Searching for: Stroker Ace [1983]
Searching for: site:imdb.com inurl:"imdb.com" Stroker Ace
Found imdb link: http://www.imdb.com/title/tt0086379/combined Lengde: 44
Checking MoviePosterDB for id: ttcombined
No cover found, Fallback to imdb cover
poster=rg/action-box-title/primary-photo/media/rm137731072/tt0086379