List Info

Thread: VB6 and version of Windows




VB6 and version of Windows
country flaguser name
France
2007-08-06 12:26:01

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

__._,_.___
.

__,_._,___
Re: VB6 and version of Windows
country flaguser name
Australia
2007-08-07 09:28:38

Michael Hodge wrote:
> 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?
>;

http://www.garybeene.com/code/visual%20basic255.htm

Not returned version is traditional version numbers.

ie XP is version 5.1
Windows 2000 version 5.0

(Interesting that the guys at microsoft only considered XP a .1
increment over 2000....... Can anyone tell me. Is Vista version 6 or
yet another .1 increment)

Matt

__._,_.___
Recent Activity
Visit Your Group
SPONSORED LINKS
Need traffic?

Drive customers

With search ads

on Yahoo!

Yoga Groups

Exchange insights

with members of

the yoga community.

RE: VB6 and version of Windows
country flaguser name
United States
2007-08-07 20:34:08

> Can anyone tell me. Is Vista version 6 or
> yet another .1 increment)

Vista is 6.x

__._,_.___
.

__,_._,___
[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )