|
-
Apr 17th, 2000, 02:07 PM
#1
Thread Starter
New Member
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]
-
Apr 17th, 2000, 02:33 PM
#2
Hyperactive Member
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...)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|