Accessing full file path in silverlight. RRS feed

  • Question

  • Hi,

    I am using silverlight 4 application, in that i used openfile dialog to select the file, but after selecting the file the variable holds only the file name not the full path , how can i get the full path of the selected file.

    My code look like this.

    string file="";

    OpenFileDialog o=new OpenFileDialog();



    file=o.File.Name;     // displays only the file name not the full path;


    and i also tried with File.FullName etc , but not working.

    Please help me..


    Thursday, May 9, 2013 5:08 AM


  • Medha,

    This is an online forum provided by Microsoft about their product "Microsoft Project".  You'll have better luck with your question if you re-post in a more appropriate forum. See or search via Google and/or Bing. 


    Thursday, May 9, 2013 5:31 AM