0

I write .net windows application using .net 3.5 f/w with VS2008 with windows 7 platform OS as a development machine and it is working fine.

But when i run it on another machine that has Windows XP, many problem in appearance occur for example:

  1. Background image of the form has disappeared .
  2. Datagridview header has turned into another color (black)
  3. Background of labels whichI set it as transparent will has a an unintended color .

I read about similar problem in this post winforms app written in win7 looks different on win xp. why?

but I don't know what can I do

On Windows 7

On Windows 7


On Windows XP

On Windows XP

Community
  • 1
  • 1
  • What can you do about what ? you should be more specific, there are multiple approaches depending what you want to get – emecas Sep 08 '14 at 09:28
  • hi emecas i want to write my app on my development machine (windows 7) and it work on windows xp in similar appearance , not necessary the same but accepted one . for example: if the datagridview header is all in black color how can the user read columns titles ? i wish if i can attach the image that show the differences between the two OSs – falcon eagle Sep 08 '14 at 11:05
  • OK, what about if you show (in a picture by example) those specific details that look different and you would like to solve, so it will make easier to define an approach – emecas Sep 08 '14 at 11:28
  • how can i send this picture to you – falcon eagle Sep 08 '14 at 12:28
  • I meant include it in the question – emecas Sep 08 '14 at 12:57
  • the details about the differences is almost what i mention is my post above, but if you still want the example pics, how can i send it to you because i have registered just today and do not have any reputation?? am i understand what you mean because my English is not very good???? @emecas – falcon eagle Sep 08 '14 at 13:30
  • i will send the two cases when i develop form on windows 7 it's fine and look like this: http://www.4shared.com/download/G3QJqR2Oba/onwin7.png?lgfp=3000 but when i deploy it to windows XP it will look like this: http://www.4shared.com/download/WdzhVMVGce/onwinXP.png?lgfp=3000 – falcon eagle Sep 09 '14 at 09:24
  • @falconeagle It seems that a lot of the issues in the image above are to do with your colour preferences. Did you use the "System" colours? If so, those will vary from one machine to another. Try avoiding them if you want your app to look the same regardless of user preference. – Omaer Sep 09 '14 at 10:48
  • That's not the way XP windows normally look. Seems the user has installed a custom theme. Having problems like this are to be expected. – Hans Passant Sep 09 '14 at 11:46

0 Answers0