开发者

how to locate path (mobile) c#

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜