How to write short path to reach to Crystal Report
Hi everybody
I have created a crystal report I have faced a problem which is writing the full path for crystal report, I have tried to write the following code:
myReportDocument.Load("..\CtrlReport.rpt")
but it is still not working, I mean the report viewer appears but without information,when I put the full path it is OK.
Can any one help me to write something to return back to root(Short Path)?
Re: How to write short path to reach to Crystal Report
Re: How to write short path to reach to Crystal Report
no it is inside my project folder at visual studio 2005.
Re: How to write short path to reach to Crystal Report
your present code assumes that the location of your Report file is at c:
post the full path where is file is located...