-
Hello kids:
I would know the way for know the VB version. For example, if I want use a run time control creation, in VB6 i can do it with the Add method, and in VB5 using and arry.
What is the sentence for, in a conditional porpouse, know the version?
Thanks.
[email protected]
-
Not, but you can use conditional compiler constants.
In the project properties, set VB6=1
and in code
#If VB6 Then
' do something
#End If
do something will only be executed if the VB6 flag is 1 (so don't forget to set it to 0 when you use VB5...)