Vivekh

Vivekh

  • NA
  • 26
  • 0

Getting The path but not able to find the file

Jul 2 2010 8:47 AM
Hi all i have written the following code to separate the bin folder

string image_outputDir = System.Environment.CurrentDirectory;
                string str = image_outputDir.Substring(0, image_outputDir.IndexOf("\\bin"));

                objbll.SaveFileHeader(str);
                MessageBox.Show("Inserted Successfully");
                this.Close();

This is getting the output as saved but i am unable to find the required file can any one tell why..

I would like to save my file in a folder i.e created separately in the application any suggestions please

Answers (4)