
invoke the Open file dialog box in DHTML
hi Anya,
Try this:
--- <snip> ---
Set oCD = WScript.CreateObject("MSComDlg.CommonDialog")
' set the dialog's titlebar caption...
oCD.DialogTitle = "Select the file you want to open"
oCD.MaxFileSize = 260
oCD.ShowOpen
MsgBox(oCD.FileName)
--- </snip> ---
cheers, jw
Quote:
> Hi Jim_w and Joey K.
> I am trying to do exactly what Joey wanted to do, but can't find the
> attached file where you show how to instantiate comdlg32.ocx in html.
> Could you point me to the file, please.
> Thanks,
> AC
> *** Sent via Developersdex http://www.developersdex.com ***
> Don't just participate in USENET...get rewarded for it!