KathyMarriage <Ka******************@mail.codecomments.com> wrote:
Hello
In days gone by I was a VB programmer but currently tasked to find some
answers for a ASP guy.
Basically I am wanting to incorporate some of the functionality of the
Common Dialog control into this Web tool we are building, specifically
the InitDir and FileType properties. The end user needs to select a
file stored client-side - is this possible using IE6?
You allow selection of a client-side file for transmission to the
server by using the <input type="file"....> HTML element. Given normal
security setup, there is no other way to select a client-side file,
and nothing else you can do with that file once it's been selected.
(Your client-side Javascript can retrieve the name of the selected
file, but cannot open it or do anything to it. And client-side
Javascript cannot set the value of the <input type="file"...> element,
it's read-only.)
--
Tim Slattery
MS MVP(DTS)
Sl********@bls.gov