Print Page | Close Window

System.NullReferenceException

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Command Bars
Forum Description: Topics Related to Codejock Command Bars
URL: http://forum.codejock.com/forum_posts.asp?TID=23882
Printed Date: 21 November 2024 at 11:16am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: System.NullReferenceException
Posted By: cdiasdev
Subject: System.NullReferenceException
Date Posted: 19 July 2019 at 12:25pm
When I have modify the property of the object I get the following error: system.nullreferenceexception 'object reference not set to an instance of an object.'

The properties are:
CommandBars.ActiveMenuBar.Closeable = True
CommandBars.ActiveMenuBar.ShowGripper = False
CommandBars.ActiveMenuBar.ShowExpandButton = False
CommandBars.ActiveMenuBar.Customizable = False
CommandBars.ActiveMenuBar.EnableAnimation = True
Etc...

Another error occurs in the DockingPane component. When I have modify the property of the object I get the following error: system.accessviolationexception 'attempted to read or write protected memory.

The properties are:
DockingPane .PaintManager.CaptionFont.Name = "Segoe UI"
DockingPane .PaintManager.SplitterSize = 5
DockingPane .TabPaintManager.ButtonMargin.Bottom = 3

Etc...

I'm using VB.NET (VS 2019). Is it an incompatibility with .net framework? Can someone help me?




Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net