在不使用FileUpload按钮或OpenFileDialog的情况下浏览文件 [英] Browse a File without using FileUpload button or OpenFileDialog

查看:94
本文介绍了在不使用FileUpload按钮或OpenFileDialog的情况下浏览文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

任何人都可以帮我吗,
如何在不使用FileUpload按钮或OpenFileDialog的情况下使用vb.net

浏览方案

来浏览文件据我所知,访问JavaScript的客户端文件系统是一种新的HTML5功能 [ http://www.wintellect.com/CS/blogs/jprosise/archive/2009/12/16/silverlight-4-s-new-local-file-system-support.aspx [ ^ ]
Java: http://www.developer.com/java/other/article.php/3303561/Creating-a-Trusted-Applet-with-Local-File-System-Access-Rights.htm [ ^ ]
Adobe AIR: http://www.jabit.com/2011/04/01/reading-and-writing-to-a-local-file-in-adobe-air/ [ 解决方案

As I know, accessing client file system for JavaScript is a new feature in HTML5[^], but some browsers had similar features in the past also.
In general you will have to use a plugin, or control an existing plugin - and I mean a Java applet, a Flash applet or a Silverlight one.

See some samples:
Silverlight: http://www.wintellect.com/CS/blogs/jprosise/archive/2009/12/16/silverlight-4-s-new-local-file-system-support.aspx[^]
Java: http://www.developer.com/java/other/article.php/3303561/Creating-a-Trusted-Applet-with-Local-File-System-Access-Rights.htm[^]
Adobe AIR: http://www.jabit.com/2011/04/01/reading-and-writing-to-a-local-file-in-adobe-air/[^]


这篇关于在不使用FileUpload按钮或OpenFileDialog的情况下浏览文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆