DevExpress Repository Items, COM, Access and ShowPopupShadow
January 30, 2006
We've had a really weird bug to try and fix recently. We're using the DevExpress Xtra Grid functionality and have a grid with a list box on it which is displayed when you enter the cell. This all works fine through .Net, and also fine through COM when called from VB. When being called from Access VBA however, I get an exception raised from System.ComponentModel.Win32Exception saying "The parameter is incorrect" (twice).After a lot of code removing, I could reproduce the problem by just putting any popup based RepositoryItem on to a form (i.e. coloredit, combobox, listbox etc) and calling it through Access VBA. We raised this with DevExpress as a bug.Whilst waiting for them to get back to us, we found a solution. By setting the ShowPopupShadow property to false, this exception will not be raised.
comments powered by Disqus