Hi all,
From a long experience: :)
when you need to get something from VBS, if it needs some input parameters, don't use functions in VBS but procedures.
Why: because when you pass as a parameter a string that contains quotes or comma or some other special characters, then it all will be interpreted as a statement in VBS instead of passing as one parameter. A good example is when you need to give as an input a file text that you can't be quite sure what it may contain.
For this you're welcome to use the technique I give the code for here (code, defining and using GlobalReturnStr).
Happy coding! :)
Olga.
Why VBRun is better than VBEval
Moderators: JRL, Dorian (MJT support)