Click here to Skip to main content
15,885,914 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
i created 2 vbscript i call "b" vbscript from "a" i want to return some string value from script "b" to script "a" how can i do it?
i m using vb script
Posted

1 solution

There are no a concept of child or parent scripts in VBScript. Moreover, what is called are not scripts but functions.

I don't even know how to help. You have no idea of a very basic programming concept. All you can do is starting to learn from the very beginning.

Best decision you can make is to abandon VBScript as proprietary and non-standard and never use it. JavaScript can be used everywhere where VBScript can be used, but it is standardized and can be used anywhere while VBScript is pretty much limited to Microsoft products.

http://en.wikipedia.org/wiki/VBScript[^],
http://en.wikipedia.org/wiki/JavaScript[^],
http://en.wikipedia.org/wiki/ECMAScript[^],
http://en.wikipedia.org/wiki/Windows_PowerShell[^],
http://en.wikipedia.org/wiki/Function_%28computer_science%29[^],
http://en.wikipedia.org/wiki/Scripting_language[^],
http://en.wikipedia.org/wiki/Programming[^].

—SA
 
Share this answer
 
Comments
Espen Harlinn 9-Feb-12 8:51am    
Nice set of links :)
Sergey Alexandrovich Kryukov 9-Feb-12 12:06pm    
Thank you, Espen.
--SA

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900