开发者

how to locate path (mobile) c#

开发者 https://www.devze.com 2022-12-27 04:11 出处:网络
i was trying to locate specific path for a picture (that i want to include) in mobile application 开发者_如何转开发(web server).

i was trying to locate specific path for a picture (that i want to include) in mobile application 开发者_如何转开发(web server).

and in terms of doing that i did this..

image src= \\program files\myprogram\a.jpg 

is that how it works is mobile device?

to sum up, i was stuck being unable to display picture from specific path.

any help appreciated thanks


Since the OS has no notion of a current directory, there is no Application.StartupPath. You can use Reflection to locate where you are running from.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号