This hasn’t been updated in a number of years, and no longer works as expected. There are now better options.
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.
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.
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.
“exit” exit’s the application
“close” closes the window
Alt+F3 opens the code window
“uptime” returns the current system uptime.
More robust error handling.
Added F4 hot-key. Inserts: ("")
MB – One argument wrapper for MessageBox.Show
SCrypt – Simple value-swapping encryption.
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.
- Initial Release
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.
- .NET Framework 2.0
- A Computer