Homemade web page selection local path control (with source code)

Source: Internet
Author: User

Use a WEB developed by C # To select a local directory path control. After the OBJECT control is embedded into a webpage, it lists the directories on the local disk. Use the control JS method GetDirPath () to obtain the selected directory path.

The code will not be pasted, directly to the source code and DEMO

Package and download the source code and DEMO: WebDirSelector.rar

Registration and use:

1. Open WebDirSelector Solution
2. in "project properties-> Generate", tick "register for COM Interop". After compilation, the system automatically registers the DLL (or registers the compiled WebDirSelector with regsvr32 in the command line. dll)

3.open webdirselectoropen.html and allow the ACTIVEX control to run.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.