exception whenever my app runs after the pc start up

Feb 28, 2011 at 10:29 AM


I've got this exception:

System.ArgumentOutOfRangeException: The parameter value must be greater than zero.
Parameter name: pixelWidth
   at System.Windows.Media.Imaging.RenderTargetBitmap..ctor(Int32 pixelWidth, Int32 pixelHeight, Double dpiX, Double dpiY, PixelFormat pixelFormat)

whenever i ran the application after i startup the PC. After restarting the app.. it runs fine. 

The exception only occurs whenever i restart the PC. 

Please advice what might be wrong here... anyway.. thanks for this project it has been great.