Resize picture (HRESULT: 0x800A025D)

Aug 12, 2014 at 3:29 PM
Dear, in principle excuse my writing, my tongue is not English.
I have the disadvantage of not being able to resize the images. I get the following exception:

System.Runtime.InteropServices.COMException was unhandled
Message=Excepción de HRESULT: 0x800A025D
Source=Microsoft.mshtml
ErrorCode=-2146827683
StackTrace:
   en mshtml.HTMLDocumentClass.IHTMLDocument2_queryCommandState(String cmdID)
   en Smith.WPF.HtmlEditor.HtmlDocument.QueryCommandState(String commandID) en C:\Documents and Settings\maquino\Escritorio\SendMail\HtmlEditor\Models\HtmlDocument.cs:línea 62
   en Smith.WPF.HtmlEditor.HtmlEditingExtension.IsJustifyLeft(HtmlDocument document) en C:\Documents and Settings\maquino\Escritorio\SendMail\HtmlEditor\Extensions\HtmlEditingExtension.cs:línea 79
   en Smith.WPF.HtmlEditor.HtmlEditor.OnTimerTick(Object sender, EventArgs e) en C:\Documents and Settings\maquino\Escritorio\SendMail\HtmlEditor\Views\HtmlEditor.xaml.cs:línea 281
   en System.Windows.Threading.DispatcherTimer.FireTick(Object unused)
   en System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   en MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
   en System.Windows.Threading.DispatcherOperation.InvokeImpl()
   en System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(Object state)
   en System.Threading.ExecutionContext.runTryCode(Object userData)
   en System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
   en System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
   en System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean ignoreSyncCtx)
   en System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   en System.Windows.Threading.DispatcherOperation.Invoke()
   en System.Windows.Threading.Dispatcher.ProcessQueue()
   en System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   en MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   en MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
   en System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   en MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
   en System.Windows.Threading.Dispatcher.InvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
   en MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
   en MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
   en System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
   en System.Windows.Threading.Dispatcher.PushFrame(DispatcherFrame frame)
   en System.Windows.Application.RunDispatcher(Object ignore)
   en System.Windows.Application.RunInternal(Window window)
   en System.Windows.Application.Run(Window window)
   en System.Windows.Application.Run()
   en SendMail.App.Main() en C:\Documents and Settings\maquino\Escritorio\SendMail\SendMail\obj\x86\Debug\App.g.cs:línea 0
   en System.AppDomain._nExecuteAssembly(RuntimeAssembly assembly, String[] args)
   en System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)
   en Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
   en System.Threading.ThreadHelper.ThreadStart_Context(Object state)
   en System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean ignoreSyncCtx)
   en System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   en System.Threading.ThreadHelper.ThreadStart()
InnerException:

and I can not descubir the solution, can someone give me a guidance.

thank you very much.