Print Page | Close Window

App crash when ActiveMenuBar.Delete

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=4299
Printed Date: 15 September 2025 at 8:53am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: App crash when ActiveMenuBar.Delete
Posted By: castleJoe
Subject: App crash when ActiveMenuBar.Delete
Date Posted: 28 May 2006 at 2:22pm
Hi,

I have a situation where CJ crashes our app. If I have this in my code:
myMDIform.CommandBars1.ActiveMenuBar.Visible = False

the app works fine, but removing the menubar instead of hiding it:
myMDIform.CommandBars1.ActiveMenuBar.Delete

crashes the app when unloading the form (can't trap the error in error handler).

I can't reproduce the crash with a simple app to send it to support, but did anybody have this kind of situation?

Using 9.81 and VB6.

Thanks



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