none
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();

    if(o.ShowDialog==true)

    {

    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..

    Thanks

    Thursday, May 9, 2013 5:08 AM

Answers

  • 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 http://www.microsoft.com/communities/forums/default.mspx or search via Google and/or Bing. 


    --rms www.rmschneider.com

    Thursday, May 9, 2013 5:31 AM