Answer by Oded for Easy if problem in vbscript
You are comparing a string to a number - the content of row will be a string, so there is a type mismatch when comparing it to a number.Try this to find out if the line contains the number 0:If row =...
View ArticleAnswer by Philipp for Easy if problem in vbscript
row is a string because the ReadLine method returns a string. Probably you want to say If row = "" or If Len(row) = 0 instead.Here is an improved version of your scripts:Script for writing:Set FSO =...
View ArticleEasy if problem in vbscript
i try to copy the second line from a txt, that works great problem is now i try to make an if-statement that check the txt, is there something in line 2. Set fso =...
View Article
More Pages to Explore .....