I’ve written a small utility that may be of some use to VB developers (or anyone familiar with VB or VBScript). This is basically a wrapper for the Microsoft Script Control’s Eval method, the idea being to test simple lines of code or quick math tasks. This simply executes VBScript code and returns either an error message if you made a mistake or the returned value.
This makes use of both the Microsoft Script Control to allow the execution of VBScript; as well .NET’s ability to compile on the fly. This allows the user to execute code using either engine, depending on the task. VBScript is faster, though a more limited language while .NET is slowly, but offers the full power of the .NET Framework.
It’s just a simple tool in a developers toolkit, but something you might find useful.
IMPORTANT: evalTray currently crashes when used on Windows 7. I am in the process of re-writing evalTray and will be posting an updated version soon.
Changes
2007.0.2.0 (Dec. 20, 2007)
- Major codebase cleanup.
- Added support for VB.NET Code.
- Now runs against the .NET Framework 2.0.
- Corrected issue with Uptime function.
- Changed data returned by OSVersion.
- Google – Launches the default browser and performs a search on the string provided.
- HostName – Returns the local PC name.
- IPAddress – Returns a list of all IP addresses assigned to the local PC.
- NSLookup – Return the IP address associated with the PC name specified.
2006.0.1.81 (Feb. 26, 2006)
- ToBase64 – Encodes a string using the Base 64 algorithm.
- FromBase64 – Decodes a Base 64 string.
- Fixed Copy from Result window issue.
- Parameters are now automatically formatted.
2005.0.1.53 (Sept. 29, 2005)
- “exit” exit’s the application
- “close” closes the window
- Alt+F3 opens the code window
- “uptime” returns the current system uptime.
2004.0.2.49 (Oct. 6, 2004)
- More robust error handling.
- Added F4 hot-key. Inserts: (“”)
- MB – One argument wrapper for MessageBox.Show
- HtmlEncode
- HtmlDecode
- UrlDecode
- UrlEncode
- UrlPathEncode
- ShellEx
- SCrypt – Simple value-swapping encryption.
- AsciiToHex
- HexToAscii
- MD5
- SHA1
- CRC32
2004.0.1.35 (Oct. 4, 2004)
- DNSResolve – Resolve a domain name to a IP address. Sample: dnsresolve(“www.google.com”)
- OSVersion – Returns the version number of Windows.
- TickCount – Retrieves the system tick count.
- SysDir – Returns the path of the System folder.
- Enviro – Expands environmental variables. Sample: enviro(“%SystemRoot%”)
- CLR – Returns the runtime version number.
2004.0.0.24 (Oct. 3, 2004)
- Initial Release
Support
I’ll do my best to support this as my time allows. I’d also like to hear your feedback, comments, feature requests, or anything else you feel like saying. Contact me.
Download
Requirements:
- .NET Framework 2.0
- A Computer
Welcome!
I am a software developer, currently located in Virginia. While my primary focus is creating software on Microsoft's .NET stack, I also write about other topics and technologies I find interesting - Ruby on Rails, Security, and even a little about photography.Search
Articles
- January 2012
- October 2011
- July 2011
- June 2011
- May 2011
- April 2011
- March 2011
- February 2011
- January 2011
- December 2010
- August 2010
- July 2010
- June 2010
- April 2010
- February 2010
- December 2009
- October 2009
- July 2009
- June 2009
- December 2008
- November 2008
- October 2007
- August 2007
- May 2007
- April 2007
- March 2007
- February 2007
- January 2007
- December 2006
- November 2006
- October 2006
- September 2006
- August 2006
- July 2006
- June 2006
- May 2006
- April 2006
- March 2006
- February 2006





