Jane's Technical Stuff

Monday, January 30, 2006

DevExpress Repository Items, COM, Access and ShowPopupShadow


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.

Labels:

// posted by Jane @ 1:25 PM   save to del.icio.us

Comments:

Thursday, January 26, 2006


One of the RSS feeds I subscribe to is Joel on Software - I confess I don't always get a chance to read his posts, but I do like his first draft on the Introduction to Great Design. It reminds me of one of the books that Richard pointed me at The Design of Everyday Things by Donald Norman.

Labels:

// posted by Jane @ 9:50 AM   save to del.icio.us

Comments:

Brighton Bloggers   This page is powered by Blogger. Isn't yours?   rss Sussex Digital - focusing on the Sussex digital community