Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: 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 17:38pm
sai sagar1.9K
Comments
jibesh at 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 at 18-Dec-12 23:09pm
   
ya. it's right but how can i get path from that dll
jibesh at 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
0 Sergey Alexandrovich Kryukov 9,535
1 OriginalGriff 8,295
2 Peter Leow 4,839
3 Kornfeld Eliyahu Peter 3,210
4 Maciej Los 2,301


Advertise | Privacy | Mobile
Web04 | 2.8.150327.1 | Last Updated 18 Dec 2012
Copyright © CodeProject, 1999-2015
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