Display problem on target machine


Author
Message
Keith Chisarik
Keith Chisarik
StrataFrame VIP (1.5K reputation)StrataFrame VIP (1.5K reputation)StrataFrame VIP (1.5K reputation)StrataFrame VIP (1.5K reputation)StrataFrame VIP (1.5K reputation)StrataFrame VIP (1.5K reputation)StrataFrame VIP (1.5K reputation)StrataFrame VIP (1.5K reputation)StrataFrame VIP (1.5K reputation)
Group: StrataFrame Users
Posts: 939, Visits: 40K
(edit: attachments dont seem to be working, hopefully you can still see them, if not I can post elsewhere)



My form that should look like this:



Looks like this:





The target PC is XP SP2, patched to date, screen size, type, manufacturer, resolution, theme settings are all identical to my workstation. I have not seen this before. It is completely ignoring some controls on the screen. Buttons, DetailView control, buttons, textboxes etc are not drawn, or drawn wrong. Any thoughts?

Keith Chisarik
Attachments
good.jpg (147 views, 58.00 KB)
bad.jpg (136 views, 45.00 KB)
Keith Chisarik
Keith Chisarik
StrataFrame VIP (1.5K reputation)StrataFrame VIP (1.5K reputation)StrataFrame VIP (1.5K reputation)StrataFrame VIP (1.5K reputation)StrataFrame VIP (1.5K reputation)StrataFrame VIP (1.5K reputation)StrataFrame VIP (1.5K reputation)StrataFrame VIP (1.5K reputation)StrataFrame VIP (1.5K reputation)
Group: StrataFrame Users
Posts: 939, Visits: 40K
Update. On another box it looks fine, also XP SP2.


Keith Chisarik
Keith Chisarik
Keith Chisarik
StrataFrame VIP (1.5K reputation)StrataFrame VIP (1.5K reputation)StrataFrame VIP (1.5K reputation)StrataFrame VIP (1.5K reputation)StrataFrame VIP (1.5K reputation)StrataFrame VIP (1.5K reputation)StrataFrame VIP (1.5K reputation)StrataFrame VIP (1.5K reputation)StrataFrame VIP (1.5K reputation)
Group: StrataFrame Users
Posts: 939, Visits: 40K
I also have a SF Listview that will not populate on a deployment box, it causes no errors and the parent table populates correctly so I think it is another visual bug. The rest of my app works fine, all the problems are on the same form.



I am puzzled. Any suggestions appreciated.

Keith Chisarik
Keith Chisarik
Keith Chisarik
StrataFrame VIP (1.5K reputation)StrataFrame VIP (1.5K reputation)StrataFrame VIP (1.5K reputation)StrataFrame VIP (1.5K reputation)StrataFrame VIP (1.5K reputation)StrataFrame VIP (1.5K reputation)StrataFrame VIP (1.5K reputation)StrataFrame VIP (1.5K reputation)StrataFrame VIP (1.5K reputation)
Group: StrataFrame Users
Posts: 939, Visits: 40K
More on my data display problem that happens on any target PC ( to go along with the funky UI issue above that only occurs on one particular box)



It looks to me like the BO's fill method is not populating the BO on production machines, why I cannot imagine.



Some code:




Me.RentitemsBO1.FillByOrderNumber(Me.OrdersBO1.order_ordnum)

MsgBox("DEBUG: # of rental line items to go in ListView = " & Me.RentitemsBO1.Count)





On my box the BO is populated and the record counts always are spot on for the child data to populate the listview, on any priduction machine the BO.count = zero.



As you can see a very simple fill that works fine on my development box:




Public Sub FillByOrderNumber(ByVal OrderNumber As Integer)

'-- Establish locals

Dim loCommand As New SqlCommand()



'-- Build the query

loCommand.CommandText = "SELECT * FROM rentitems WHERE rent_ordnum = @param1"



'-- Add the parameter

loCommand.Parameters.Add("@param1", SqlDbType.Int)

loCommand.Parameters("@param1").Value = OrderNumber



'-- Execute the command to fill the business object

Me.FillDataTable(loCommand)

End Sub

Keith Chisarik
Trent Taylor
Trent Taylor
StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 6.9K
OK...let's start with the BO thing first.  Have you turned on Debug mode for the data source on the machine that will not populate the BO and have it output it to HTML?  Let's start here....there is nothing magic here so there is more than likely an issue with the connection talking to the server or some type of error that is being raised and snuffed somewhere.  So let's see if we can tell anything from the debug file.

Next, the UI rendering issues can come from a lot of different sources.  We use GDI+ through .NET for most all of our custom rendering.  A button, at the moment, has no additional rendering functionality added by us and is coming straight from .NET.  When you run into issues like this it generally points to a video driver or video card not playing nice with with Windows GDI+.  I have not seen this exact issue you are having, but I have seen rendering issues related to video cards more than once as well as video settings that tie into the card to provide extended DPI resolutions, etc.  Since this is happening on an isolated machine, I think I would start with a video card (if you have a spare one) and then update the video drivers to see if the problem goes away.  That is the first place I would look.

Javier Porrata
Javier Porrata
StrataFrame Beginner (28 reputation)StrataFrame Beginner (28 reputation)StrataFrame Beginner (28 reputation)StrataFrame Beginner (28 reputation)StrataFrame Beginner (28 reputation)StrataFrame Beginner (28 reputation)StrataFrame Beginner (28 reputation)StrataFrame Beginner (28 reputation)StrataFrame Beginner (28 reputation)
Group: StrataFrame Users
Posts: 6, Visits: 90
Hi,

Im having a similar problem, I create the UI in one machine and when change to other the UI seems to shrink, I resize the new machine and everything works fine, but when I get back to the original machine happens the same, is there any settings for the visual part of the UI?

Thanks
Ivan George Borges
Ivan George Borges
Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)
Group: StrataFrame MVPs
Posts: 1.9K, Visits: 21K
Hi Javier.

This seems a bit hard to me to say what could be going on without some more information. Could you post some screen pictures or a sample application showing the problem?
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search