将图像文件加载到vb.net中的picturebox [英] Load image file to picturebox in vb.net

查看:232
本文介绍了将图像文件加载到vb.net中的picturebox的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

所有访客
我已经从internet下载了一个演示文件.在该文件中,当我单击显示按钮时,它将在图片框上加载一张图片.我想知道该图片不在我的计算机中,为什么它可以加载该图片?我想喜欢这个样品.
有人知道如何保存图像而不在vb.net中保存图像到文件的路径吗?
谢谢

hi all visitors
i have downloaded one demo file from internet.in that file, when i click on display button it will load one image on picture box.i wonder that that picture isnot in my computer, why it can load that picture? i want to like this sample.
anybody have idea how to save image without saving path of image to file in vb.net?
Thanks

推荐答案

尝试通过更改图像的名称(和路径)以指向系统上的某些内容来更改代码.
Try changing the code by changing the name (and path) of the image to point to something on your system.


这篇关于将图像文件加载到vb.net中的picturebox的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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