

CodePudding user response:
VBS is weak, do not need the as string specifies the variable typeIn 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 enoughCodePudding user response:
This is vbscript code is vb6CodePudding user response: