Jump to content
How to Install Plugins ×

take Screen shots and paint it in Paint .NET


pamkkkkk

Recommended Posts

I got it to work but get an unhandled exception every time I take a clipping

See the end of this message for details on invoking 
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.Exception: Das Fenster-Handle ist 0 ! (ActivateApplicationByHandle)
  at ClippingsDotNET.WinAutomationAPI.ActivateApplicationByHandle(IntPtr Handle)
  at ClippingsDotNET.TrayForm.SendToPaintDotNET()
  at ClippingsDotNET.TrayForm.send2App()
  at ClippingsDotNET.TrayForm.SendBitmapTo()
  at ClippingsDotNET.TrayForm.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.1433 (REDBITS.050727-1400)
   CodeBase: file:///c:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
ClippingsDotNET
   Assembly Version: 1.0.0.0
   Win32 Version: 1.0.0.0
   CodeBase: file:///C:/Documents%20and%20Settings/Shawn%20S/My%20Documents/ClippingsDotNET.exe
----------------------------------------
Microsoft.VisualBasic
   Assembly Version: 8.0.0.0
   Win32 Version: 8.0.50727.1433 (REDBITS.050727-1400)
   CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Microsoft.VisualBasic/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
----------------------------------------
System
   Assembly Version: 2.0.0.0
   Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
   CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Windows.Forms
   Assembly Version: 2.0.0.0
   Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
   CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
   Assembly Version: 2.0.0.0
   Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
   CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Runtime.Remoting
   Assembly Version: 2.0.0.0
   Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
   CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Runtime.Remoting/2.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll
----------------------------------------
WindowsHookLib
   Assembly Version: 1.1.0.5
   Win32 Version: 1.0.0.0
   CodeBase: file:///C:/Documents%20and%20Settings/Shawn%20S/My%20Documents/WindowsHookLib.DLL
----------------------------------------
System.Deployment
   Assembly Version: 2.0.0.0
   Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
   CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Deployment/2.0.0.0__b03f5f7f11d50a3a/System.Deployment.dll
----------------------------------------
HotkeyControl
   Assembly Version: 1.0.2410.23277
   Win32 Version: 1.0.0.0
   CodeBase: file:///C:/Documents%20and%20Settings/Shawn%20S/My%20Documents/HotkeyControl.DLL
----------------------------------------
System.Xml
   Assembly Version: 2.0.0.0
   Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
   CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
Accessibility
   Assembly Version: 2.0.0.0
   Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
   CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Accessibility/2.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------
System.Configuration
   Assembly Version: 2.0.0.0
   Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
   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:





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.

At least, could you make it so this debug box does not show up? There are no problems except for the annoying box.

"By trying to reinvent the wheel every time we find very often with square wheels" ...X-blaster

Link to comment
Share on other sites

  • 3 weeks later...

Thank you for your bug report!

You are the first !

OK!

Your report pointed me that the errror dosnt occur on every snapshot. right ??

the error appears only if you try to send a snapshot to Paint.NET over a tempfile ?? isn't it so ??

If have tryed to fix this bug.

So go to http://www.vbforums.com/showthread.php?t=534404 get the latest release 0.14 and try again.

P.S. in my Visual Studio is the is the support for JIT debugging set!

I can't understand why it isnt run propper! :roll:

Thank you again for your report.

@Max Power

I added a German Manual.

Anleitung auf deutsch verfügbar !! 8)

Link to comment
Share on other sites

  • 1 year later...
  • 4 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...