Hi,

I've been trying for days now to figure out a way to open a local file in WebBrowser, in an Input File, without using a file dialog. I want to be able to submit a filename stored in a variable to the <input type='file'> without triggering a dialog box for browsing.

Does anyone know how to do this? I really need help.

Thanks!

Recommended Answers

All 2 Replies

Does this file always located in one path? Does the server have this file too? Is the path to this file the same on the server?

Oops forgot to ask are you creating ASP or just a windows application that will use the "control" WebBrowser?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.