I have written quite a bit of code in C# and .net 3 and WPF.
I naively thought the code would work in Vista so advertised my code accordingly.
Had no complaints so assumed everything was OK.
I bought a copy of Vista and found:
1/ My white text menus turned up on a light grey background in Vista ! useless !
2/ The openfiledialog on closing locked out my keyboard.
3/ My contextmenus did not size correctly.
My .net 2.0 stuff all works OK its just the WPF and .net v3.0 that has problems.
Nigel
----- Original Message ----
From: Michael Hodge < clubs%40hodge1934.wanadoo.co.uk">clubs
hodge1934.wanadoo.co.uk>
To: Michael Hodge < clubs%40hodge1934.wanadoo.co.uk">clubs
hodge1934.wanadoo.co.uk>
Sent: Monday, 6 August, 2007 6:26:01 PM
Subject: [Visual Basic 6 programming] VB6 and version of Windows
My program, written in VB6, seems to be working fine in both XP and 98SE.
Vista is being tested tomorrow!
For various reasons, I am using Notepad. Some of the Output is in Portrait
Mode and some in Landscape. The code for these is slightly different in 98
and XP. I shall see tomorrow what it would be in Vista.
A neat solution would be to determine what version of Windows is being used
and write the code accordingly:
If version = XP Then [XP Code]
If version = 98 Then [98 Code]
Is this possible? If so, how?
Michael
__________________________________________________________
Yahoo! Mail is the world's favourite email. Don't settle for less, sign up for
your free account today http://uk.rd.yahoo.com/evt=44106/*http://uk.docs.yahoo.com/mail/winter07.html
[Non-text portions of this message have been removed]
.