Hope this helps Watch for line wrap
Set objDialog = CreateObject("UserAccounts.CommonDialog") objDialog.Filter = "All Files|*.*" objDialog.FilterIndex = 1 objDialog.InitialDir = "C:\" intResult = objDialog.ShowOpen
If intResult = 0 Then Wscript.Quit Else Wscript.Echo objDialog.FileName End If
"Jeff Belorit" <jbelorit[ at ]mbi-inc.com> wrote in message news:u40fdHYmHHA.1776[ at ]TK2MSFTNGP05.phx.gbl...
[Quoted Text] >I would like to generate a listbox of filnames that would allow a user to >choose a file from. Is it possible to create a listbox object using >vbscript and windows host script engine? > > thanks for the help >
|