how get list of files in a folder using javascript

前端 未结 2 960
暖寄归人
暖寄归人 2021-01-24 07:51

I am working on project for desktop application. I am using Qt controls with visual c++. I am loading an html file in the QWebView as,

m_pWebView->load(QUrl(\         


        
2条回答
  •  后悔当初
    2021-01-24 08:31

    If it is a Windows application then you could access the local filesystem by using ActiveX objects. You might have a look at this link Reading a txt file from Javascript

    Note that activeX usage is possible only when using IE as browser/engine; I used to need it a while ago for developing an HTML application (.hta files).

提交回复
热议问题