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.
精彩评论