Is it possible and how do I go about running a vbscript from a console application?
Thx
Goose
Is it possible and how do I go about running a vbscript from a console application?
Thx
Goose
Code:system("wscript MyScript.vbs");
Sorry, but I didn't make myself clear before.
I actually have a string that I want to pass to it and get data returned back. It so that the translation/processing can by modified easily with out having to recompile.
You can maybe do this with Console Handles using a few APIs, or perhaps through COM, but it will be a fair bit of work..
Perhaps you can put the data you want to pass in a file....run the script...the script reads the files, makes changes, exits...and your prog opens the file and reads the changed data