After performing a fresh install of the framework and database using the latest version (2005-12-21) I’m having the following issues with ObjectMapper and the sample WinForms application. I’m able to open ObjectMapper and configure the project. When I go to configure the business objects everything appears to work okay except the Property Accessing/Changing/Changed Events are appearing as text boxes instead of drop down lists. I’m not able to select individual or group events.
When I go to run the sample application it fails to compile with
“Value of type’1-Dimensional array of Byte’ cannot be converted to ‘System.Drawing.Image”. This happens in ProductsInfoPanel.vb, OrderItemEntry.vb, ProductMaintenance.vb.
One example:
Private Sub ProductsInfoPanel_RowChanged(ByVal e As MicroFour.StrataFrame.UI.Windows.Forms.BrowseDialogRowChangedEventArgs) Handles MyBase.RowChanged
'-- Strong-type the business object
With CType(e.BusinessObject, ProductsBO)
'-- Set the picture
Me.PictureBox1.Image = .prod_image <- This statement fails
'-- Set the product description
Me.Textbox1.Text = .prod_desc
End With
End Sub
I’m running on WindowsXP and SQL Server 2000.