title: Winform root directory path.How to again!
body: <p>Hello guys first of all  apologize for asking such a simple and yet redundant question but it seems my case is kinda bit different where googling failed to provide answers.
  I have a solution with 2 projects say proj1 and proj2 where proj1 is a winform application and proj2 is a classlibrary application.proj1 is sitting here</p>
  
  <blockquote>
    <p>C:\Documents and Settings\myname\My Documents\Visual Studio 2005\Projects\proj1\proj1</p>
  </blockquote>
  
  <p>ane the classlibrary is here </p>
  
  <blockquote>
    <p>C:\Documents and Settings\myname\My Documents\Visual Studio 2005\Projects\proj1\proj2</p>
  </blockquote>
  
  <p>Now i have a report in a subfolder Report where i have my crystalreport and other stuffs
  i need to have this root path  of proj1 </p>
  
  <blockquote>
    <p>C:\Documents and Settings\myname\My Documents\Visual Studio 2005\Projects\proj1\proj1</p>
  </blockquote>
  
  <p>so that i append <code>@"Report\myreport.rpt"</code> to it. I believe with that it's supposed to be relative path on the deployed machine.correct me if I'm wrong.the main idea is to have relative path to the Report folder at </p>
  
  <blockquote>
    <p>C:\Documents and Settings\myname\My Documents\Visual Studio 2005\Projects\proj1\proj\Report.</p>
  </blockquote>
  
  <p>from all i searched online 
  like <code>Environment.CurrentDirectory</code>or <code>Application.StartupPath</code> or <code>Application.ExecutablePath</code> or <code>System.Reflection.Assembly.GetExecutingAssembly().Location</code> are just given me either the bin/proj1.exe or the debug folder.
  i just can't figure out how to do that</p>
  
  <p>thank you for reading this.oh yeah! and for your kind answer.
  PS: using C#2.0</p>