Prev: printui.dll command line in a batch file
Next: Global Warming and what you can do to against it
From: PAkerly on 29 Dec 2009 13:35 Hello, I want to: 1.) open a folder that has files in it. 2.) ask the user with a msgbox if these are the right files user clicks YES, program will continue. user clicks NO, another msgbox pops up and program ends. How would I do this?
From: Pegasus [MVP] on 29 Dec 2009 14:19 "PAkerly" <pakerly(a)gmail.com> said this in news item news:b511ade7-5fa6-4570-a616-512e2c3f47ea(a)g31g2000vbr.googlegroups.com... > Hello, > I want to: > > 1.) open a folder that has files in it. > 2.) ask the user with a msgbox if these are the right files > > user clicks YES, program will continue. > > user clicks NO, another msgbox pops up and program ends. > > How would I do this? To open a file you use the OpenFile method of the File System Object. To ask the user, you would use the msgbox method. When you examine the help file script56.chm (which you can download from the Microsoft site) then you will see specific examples for both tasks.
|
Pages: 1 Prev: printui.dll command line in a batch file Next: Global Warming and what you can do to against it |