Writing Code
 Crystal Reports Forum : Crystal Reports .NET 2003 : Writing Code
Message Icon Topic: Getting Runtime Version Info Post Reply Post New Topic
Author Message
Dave P
Newbie
Newbie


Joined: 29 May 2007
Online Status: Offline
Posts: 13
Quote Dave P Replybullet Topic: Getting Runtime Version Info
    Posted: 06 Jun 2007 at 3:09am

I'm putting together a little test app to get version info from a web server.

To get the .NET Framework version I use:

System.Environment.Version.ToString();

Is there a similar thing for grabbing the crystal version info?


Edited by Dave P - 06 Jun 2007 at 6:32am
IP IP Logged
BrianBischof
Admin Group
Admin Group
Avatar

Joined: 09 Nov 2006
Online Status: Offline
Posts: 2458
Quote BrianBischof Replybullet Posted: 06 Jun 2007 at 10:28am
You have to use the File class library to get the FileVersionInfo() function (or something like that) and pass it the fully qualified filename for the Crystal Reports DLL. I wrote a utility for Business Objects that did this for their entire library and there is a link on the home page of this site. Unfortunately, I don't have the code for it with me. But run that utility and it will tell you all the files in CR and which version each one is. Then look in the .NET library and use the function the gets version info on individual files.

Edited by BrianBischof - 06 Jun 2007 at 10:28am
Please support the forum! Tell others by linking to it on your blog or website:<a href="http://www.crystalreportsbook.com/forum/">Crystal Reports Forum</a>
IP IP Logged
Post Reply Post New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum



This page was generated in 0.031 seconds.