Click here to Skip to main content
12,298,085 members (51,924 online)
Rate this:
 
Please Sign up or sign in to vote.
See more: C# C#4.0
how to set Rdlc report path in winform application?
In my application i am using ' aplication.starup+ Report1.rdlc ' for getting path. it's working fine but when i creating setup file this path won't work.
Posted 18-Dec-12 16:38pm
Comments
jibesh 18-Dec-12 23:07pm
   
Application.Startup is the executables startup path. if you try to use the dll from other application path will be different
sai sagar 18-Dec-12 23:09pm
   
ya. it's right but how can i get path from that dll
jibesh 18-Dec-12 23:15pm
   
you should consider using some other method to get the path if your dll is used by different executable. may be registry or expose a method or class to pass the root folder from outside. keep the dll free from fixed configuration if its consumed by diff application.

you may add some more details about how you are using the dll.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy | Mobile
Web02 | 2.8.160525.2 | Last Updated 18 Dec 2012
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100