Archive

Archive for July, 2015

Adventures in VBScript – Including code from other files

July 16, 2015 7 comments

If you’re a VBScript hack like me, you’re probably frustrated by the inability of VBScript to include code from other files natively. Yes, you can use funky Job files etc, but nothing beats the simplicity of an all-in-one .VBS.

I’ve created innumerable “helper” scripts and classes over the years, and even wrote a tool I call “region” which selectively merges different files together to make one big (unreadable) script.

My utopia of having simple, small scripts which leveraged my 20 year programming library has not been achieved, until now.

Here you’ll find my “Include for VBS” function – surprisingly simple, but it took 20 years of thinking about it before I got around to writing it. There were two problems to solve: Read more…

Categories: Programming