I am trying to create a simple file select dialog in VBScript. I have searched around for and answer but not come up with a simple solution. I don't need Filter options or the like.
In extended script I would use myFile = File.openDialog().
Can someone give me the VBScript equivalent for Windows 7?
Set oDialog = CreateObject("UserAccounts.CommonDialog"). PresetoDialog.FilterandoDialog.InitialDirproperties and invokeintResult = oDialog.ShowOpen. Then, ifintResultis non-zero, checkoDialog.FileNameproperty