views:

131

answers:

1

I'm a newbie to windows scripting. Is there a Calendar UI widget which I can use from wsh to get user input? I basically need to get a Date from the user.

+1  A: 

VBScript only has the InputBox function for the user input: you can use it to prompt the user for a date string in whatever date format is supported by their locale ("8/10/2009", "8/10/09", "August 10, 2009", "Aug 10, 2009" etc) and then convert it to a Date variant using the DateValue function.

If you need, you probably want an HTML Application. Check out Microsoft TechNet Script Center for info and tips on HTAs.

Helen