Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Command Bars
  New Posts New Posts RSS Feed - System.NullReferenceException
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

System.NullReferenceException

 Post Reply Post Reply
Author
Message
cdiasdev View Drop Down
Groupie
Groupie


Joined: 27 March 2017
Location: Brasil
Status: Offline
Points: 19
Post Options Post Options   Thanks (0) Thanks(0)   Quote cdiasdev Quote  Post ReplyReply Direct Link To This Post Topic: System.NullReferenceException
    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?

Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.219 seconds.