Home > Software engineering >  Why the wrong
Why the wrong

Time:11-12

O don't understand why the wrong..

CodePudding user response:

VBS is weak, do not need the as string specifies the variable type
In addition, this code has been copied from the vb6, you don't run up,
Text1, will is regarded by the VBS into a class, but you don't have the class definition; The same is true for List1;
You have two FOR Next;
The last line End Sub back d Sub is what the devil?

You this is what ah, a total of only a few lines, so many mistakes,

CodePudding user response:

Not to say that from vb6 copied must not run, but you can't run this code is no problem, Private Sub Command1_Click () this definition neither fish nor fowl, but there are no problems in VBS, can run, in the script interpreter eyes it is a method, called Command1_Click to learn vb6, include a vb6 environment, looking for vb6 tutorial; To learn VBS for VBS tutorial,

CodePudding user response:

You have 2 next and 2 sub, check, VB without the function of automatic check, use. Net2017, free personal development will be enough

CodePudding user response:

This is vbscript code is vb6

CodePudding user response:

reference 1/X - I - n reply:
VBS is weak, don't need the as string specifies the variable type
In addition, this code has been copied from the vb6, you don't run up,
Text1, will is regarded by the VBS into a class, but you don't have the class definition; The same is true for List1;
You have two FOR Next;
The last line End Sub back d Sub is what the devil?

This is what ah, you were just a few lines, so many mistakes,
you said so much of the original poster is useless, he don't even know vb and VBS,,
  • Related