Print Page | Close Window

Execute event fired only once

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=1872
Printed Date: 02 July 2024 at 6:41pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Execute event fired only once
Posted By: MarcelN
Subject: Execute event fired only once
Date Posted: 28 February 2005 at 4:16am
Hi,

I'm using CommandBars ActiveX Control 9.60 in c# from Visual Studio 2005 Beta 1 (.NET Framework: 2.0.40607.16)

I've been experiencing a problem with the Execute event.
After showing a dialog (OpenFileDialog) in the eventhandler, no Execute-events occur anymore.

Re-hooking to the event does not solve the problem. Without the dialog the event keeps performing as expected.

Is there a solution to this issue, am I missing something or will it be fixed in a later release?



Replies:
Posted By: Boyd
Date Posted: 28 February 2005 at 10:07am
I can confirm that the controls work in C# for .NET 1.1, so this may be an issue with .NET 2.0.


Posted By: SuperMario
Date Posted: 28 February 2005 at 11:11am
I just tried it with Version 2.0.40426 and it work ok.  All I did was open up the CommandBars IconSample and added a command to open the OpenFileDialog in the Execute event.  After I opened it and closed it I then click on the theme buttons in the toolbar and it worked ok.  Can you create a small sample to debug?



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