We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

V4.1.0.9: Docking Manager: Cannot change style to Office 2003

Thread ID:

Created:

Updated:

Platform:

Replies:

38960 Dec 21,2005 03:31 PM Dec 22,2005 04:40 AM Windows Forms 5
loading
Tags: Tools
Paul Wardle
Asked On December 21, 2005 03:31 PM

Sample VS_Demo_2005: When I change the style of the docking manager to "Office 2003" the IDE reports: "This method cannot be invoked because the serialization manager does not have an active serialization session."

Paul Wardle
Replied On December 21, 2005 03:34 PM

Sorry, its not the docking manager, its the main frame bar manager :)

Paul Wardle
Replied On December 21, 2005 03:46 PM

VSMainForm.DockingManager - The VisualStyle property is N/A in VS2005. It is available in VS2003, but if I change it to "Office 2003" I get the following error: "System.ArgumentNullException: Value cannot be null. Parameter name brush System.Drawing.FillRectangle(..) ... Syncfusion.Windows.Forms.Tools.Renderers.RenderPrimitives.PaintBackground(...)" I then closed the designer, and reloaded the form - it now works OK:) If I set the property back to "OfficeXP", close the designer, reopen it and then change to "Office 2003" I get the same error. I closed the VS2003 sample, & deleted the obj/bin folders; I can no longer run/compile the VS2005 sample as it has code thats not available in .NET 2.0.

Daniel Jebaraj [Syncfusion]
Replied On December 21, 2005 11:28 PM

Hi Paul, Are you using VS.NET 2005 beta 2 by any chance? Thanks, Daniel >VSMainForm.DockingManager - The VisualStyle property is N/A in VS2005. > >It is available in VS2003, but if I change it to "Office 2003" I get the following error: > >"System.ArgumentNullException: Value cannot be null. Parameter name brush > >System.Drawing.FillRectangle(..) >... >Syncfusion.Windows.Forms.Tools.Renderers.RenderPrimitives.PaintBackground(...)" > >I then closed the designer, and reloaded the form - it now works OK:) > >If I set the property back to "OfficeXP", close the designer, reopen it and then change to "Office 2003" I get the same error. > >I closed the VS2003 sample, & deleted the obj/bin folders; I can no longer run/compile the VS2005 sample as it has code thats not available in .NET 2.0.

Paul Wardle
Replied On December 22, 2005 01:53 AM

Nope, I am using the VS 2005 RTM.

Daniel Jebaraj [Syncfusion]
Replied On December 22, 2005 04:40 AM

Paul, We have seen similar issues with beta2 (with our controls and other projects). With the RTM, we have not seen the same problems. Is it maybe possible that other dlls are being loaded into the process? Can you use ProcessExplorer (http://www.sysinternals.com/Utilities/ProcessExplorer.html) to verify the version of the .NET Framework assemblies being loaded into the process? Also, if this turns out to be .NET 2.0 RTM is there any way we can get Remote Desktop access (or Webex access) to a machine where this problem occurs? Thanks for the feedback. We appreciate it. Best regards, Daniel >Nope, I am using the VS 2005 RTM.

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;