Since VBScript is not available in 64-bit compiled applications, is there a way to evaluate basic DATE-based VBScript:
cdate("01/01/" & year(now()))
As you see, the above VBScript would evaluate today’s date as “01/01/2012”. Is there a simple way to evaluate that expression in VB.Net or C#?
To be clear, I don’t need to support all VBScripting… only simple, flat, date-based expressions, like the example above.
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: