hi everybody , my question is if there is a method to determine the location of crystal report , that even i change the location of solution the report load???

You would probably have to search the file system for the file, which is not a good idea as it could take ages.

Why don't you include the report in your project and get it to install a copy with it that way you will know where it is.

If this is not an option, give the user a dialog box to navigate to it themselves. You could save the path in your application settings for next time so they would only have to do it once - if you can't find the file because someone moves it, then reprompt them for it.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.