Simon Mourier's Avatar
Simon Mourier's blog (1807 answers on StackOverflow) about Microsoft technologies C#, C/C++, .NET, WinRT, WinUI3, AOT, P/Invoke, COM, Interop, DirectX, Direct2D, Windows, ...
  • 🔎︎ Search
  • Categories
  • Archives
  • About Me
  • .net
  • bitness
  • vbscript
  • visual-studio

Date-based Only 64-bit VBScript Evaluation

Oct 25, 2012 See the question and my original answer on StackOverflow

You can reuse VBScript in 64-bit. See this answer on SO: parse and execute JS by C#

It works also for VBScript, like this:

Console.WriteLine(ScriptEngine.Eval("vbscript", "cdate(\"01/01/\" & year(now()))"));
  • SmoBlog © 2010-2026 Simon Mourier. All rights reserved.
  • Privacy & Terms