Using vbNullString with controls and command bars |
Post Reply |
Author | |
DMoreland
Newbie Joined: 05 November 2012 Status: Offline Points: 2 |
Post Options
Thanks(0)
Posted: 13 November 2012 at 7:00am |
I have found an issue when using the command bars and combo boxes in the latest version of the code jock controls.
If you add an item to a combo box with a value of vbnullstring you get the following error message Automation Error, The object invoked has disconnected from its clients error If you use "" instead of vbNullString then the error doesn't present its self. This also happens when you Add an item to a command bar with vbNullString as its name. and the same fix works where you can replace vbNullString with "". I have attached a code example illustrating this issue. The code needs to be compiled in order for the error to be displayed and it also has to be ran on a computer that hasn't had codejock installed. Running the example from the vb6 IDE will not display this behaviour and running it on a development machine with CodeJock installed on will not display this behaviour either. |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |