Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Can I set file type in file dialog box with code?

Status
Not open for further replies.

roblasch

Programmer
Dec 30, 2000
168
0
0
US
I am using an input type = file object to upload image files to the server. the problem is that the default file type when the dialog box opens is HTML. I would like to set it to all files. Is it possible?
 
unless you make your users dowload some piece of code that will modify their reg key, i'm afraid you can't !
 
iza, interesting point. I'm building an internal app in js/vbscript and i want to be able to set the value to an input="file" form control.

As you know i cant do it, it wont allow me. My boss is throwing a tandrum over this. How can i modify the registry to allow read/write access to this control?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top