StrataFrame Forum

Rebuilding Inherited UI Assemblies: DevExpress 8.1.3

http://forum.strataframe.net/Topic16494.aspx

By Bill Cunnien - 5/21/2008

I have followed the instructions in the following thread:

http://forum.strataframe.net/Topic15184-22-1.aspx

Alas!  I am still having trouble.  For some reason, I cannot copy the DLL into the GAC.  Windows Explorer gives me the "no can-do" symbol when I am dragging the file onto the assembly folder.  This is obviously preventing me from getting the Inherited UI rebuilt properly.  Btw, I am attempting to get the 8.1.3 release of DevExpress running.

I will reboot and see what happens after that.

Bill

By Bill Cunnien - 5/21/2008

Rebooting did not help.  I was still not able to drag and drop the DLL into the GAC.  When did that stop working?

I used the gacutil to get the job done.  So, then, I opened the Inherited UI solution and did the rebuild.  I am still getting a gob of errors.

Error 1 Method 'Private Sub pnlContent_Scroll(sender As Object, e As System.Windows.Forms.ScrollEventArgs)' cannot handle event 'Public Event Scroll(sender As Object, e As DevExpress.XtraEditors.XtraScrollEventArgs)' because they do not have a compatible signature. C:\Program Files\MicroFour\StrataFrame Source Code\MicroFour StrataFrame Inherited UI\DevExpress Extended\Dialogs\BrowseDialogSearchFieldsContainer.vb 67 131 MicroFour StrataFrame Inherited UI

Error 2 Value of type 'DevExpress.XtraEditors.SplitGroupPanel' cannot be converted to 'System.Windows.Forms.Panel'. C:\Program Files\MicroFour\StrataFrame Source Code\MicroFour StrataFrame Inherited UI\DevExpress Extended\Dialogs\browsedialogwindow.vb 634 31 MicroFour StrataFrame Inherited UI

Warning 14 'Public Property EnumTopMostText() As String' is obsolete: 'This property has been depreciated and is no longer used.  Use the TopMostText and TopMostValue properties on the SearchFieldItem class instead.'. C:\Program Files\MicroFour\StrataFrame Source Code\MicroFour StrataFrame Inherited UI\DevExpress Extended\Dialogs\browsedialogwindow.vb 1126 77 MicroFour StrataFrame Inherited UI

Errors 3-13 are the same as #2.

Before I get too deep into all of this, is there a simple fix to these errors?

Thanks,
Bill

By Bill Cunnien - 5/21/2008

I fixed the first error by replacing

System.Windows.Forms.ScrollEventArgs

with

DevExpress.XtraEditors.XtraScrollEventArgs

in the BrowseDialogSearchFieldsContainer class.

That error builds away; however, was that the proper thing to do?

By Bill Cunnien - 5/21/2008

For the balance of the errors, I replaced

Panel

with

DevExpress.XtraEditors.SplitGroupPanel

in the BrowseDialogWindow class (4 entries).

The build was successful.  The rebuild was successful and the cache was updated.

I will now try to see if my application can be accessed and rebuilt with the newer 1.6.5 version of StrataFrame and the DevExpress 8.1.3 UI wrapper.

By Bill Cunnien - 5/21/2008

My application has responded very well to all of the changes today (Visual Studio, StrataFrame, and DevExpress updates).

Could I still get confirmation that what I did to the Inherited UI solution was the right thing and not a hack job?  I, way too often, make changes just because it works.  I really want to make changes based on sound principle; however, I just don't have principles.

Wait!  Who said that!?! BigGrin

Thanks!
Bill

By Greg McGuffey - 5/21/2008

I really want to make changes based on sound principle; however, I just don't have principles.




ROFL



Every once in a while I run across some old code that was coded using this timeless axiom of coding methodology, a look of utter horror spreading across my face, until I remember that I had to fix it in 10 mins on a Saturday morning after a buddies bachelor party...Blink
By Trent L. Taylor - 5/21/2008

Those changes are correct...I think...I will have to go look again, but I made these changes when I updated the DevExpress stuff to 8.1.  They changed some namespaces and base controls...which it looks like you found.  Good job Smile