获取保存在客户端计算机中的图像的路径 [英] Get Path of the Image saved in Client machine

查看:57
本文介绍了获取保存在客户端计算机中的图像的路径的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好....我想获取保存在客户端计算机中的图像的路径.我知道路径和图像的文件名.通过使用FileUpload,我可以执行但不使用fileupload可以获取文件的路径.


请帮助我........

Hi .... I want to get the path of the Image which is saved in Client Machine. I know the Path and the file name of the Image. By using FileUpload i can do but without using fileupload is that possible to get the path of the file.


Please help me with this.....

推荐答案

您可以将空字符串作为配置文件中的图像文件夹路径.如果应用程序获取的图像路径为空字符串,则会弹出一个对话框,让用户在计算机上选择正确的图像路径.
you can put empty string as the image folder path in the config file. If the application gets an empty string for the image path, it popup a dialog to let users choose correct image path on their computers.


这篇关于获取保存在客户端计算机中的图像的路径的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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