Hello all, I am using V 31 of CR for MS Visual Studio 2019. I have installed CR several times, with and without a runtime present, I can not locate the crw32.exe file in order to set the file association for the .rpt extension. I have several reports that run fine when created but an export of that report will not open after the fact. When trying to create the file association from C:\Program Files (x86)\SAP BusinessObjects\Crystal Reports for .NET Framework 4.0\Common\SAP BusinessObjects Enterprise XI 4.0\win32_x86, the only exes available are GenPSE.exe and sapgenpse.exe, neither opens the reports. Btw, all the reports are shown with the newer logo.
So if they don't have CR Designer installed or Visual Studio with the CR for VS installed there is nothing to open the reports with. You can't distribute craxddrt.dll that is used in VS to open RPT files.
My intention here is to be able to use the crw32.exe in order to set the file association for .rpt extension files. After downloading SP 33 I still don't find the crw file. My concern is to be able to both set the file association on my dev machine, as well on my end user's machines. What's my best approach to accomplish both of these concerns? Possibly for myself, it may be accomplished by installing the full version of the software, but my concern for the end users ability to set the file association on their machines remains an issue.
CUT, Visual CUT, and DataLink Viewer:
view, e-mail, export, burst, distribute, and schedule Crystal Reports.
www.MilletSoftware.com RE: Invoke crystal Reports from Command Prompt synapsevampire (Programmer)20 Jan 05 15:04There are ways you might accomplish this, but it's dependent upon the version of your software, and as Ido stated, if Crystal is on the machine.
There are also 3rd party solutions.
Check:
-k RE: Invoke crystal Reports from Command Prompt sreeramnavale (Programmer)(OP)21 Jan 05 10:40IdoMillet,
Yes I would like to open Crystal Reports from command prompt on the machines where Crystal Reports is installed.
SN
RE: Invoke crystal Reports from Command Prompt vidru (Programmer)21 Jan 05 10:59The next question is, do you want to open it within the Crystal designer?
That can be done from a command prompt by specifying the directory of crw32.exe, then passing in a valid path to the report file you want to open. Here's an example:
C:\>"C:\Program Files\Seagate Software\Crystal Reports\crw32.exe" "c:\adodept.rpt"
-dave RE: Invoke crystal Reports from Command Prompt sreeramnavale (Programmer)(OP)21 Jan 05 11:04Dear Forum,
I would like to state that I am using Crystal Reports 9.0. And in this version I do not find any way to create Crystal Reports executable as they used to be created in earlier versions of Crystal Reports.
Any direct command for running crystal from command line will be really helpful to me.
SN RE: Invoke crystal Reports from Command Prompt sreeramnavale (Programmer)(OP)21 Jan 05 11:21vidru,
I tried running command
C:\>"C:\Program Files\Seagate Software\Crystal Reports\crw32.exe" "c:\ABC.rpt"
just like you stated above but I got the error
"The file CRW.NET cannot be found. Please check that it is in the working directory as shown by the Program Manager's FileProperty command."
There is no file named CRW.NET on my m/c.
Can you help further?
Give alternate approches.
Thanks in Advance,
SN RE: Invoke crystal Reports from Command Prompt IdoMillet (Instructor)21 Jan 05 14:28You need to use the actual path on YOUR PC to the crystal exe file. However, it sounds to me like you are not communicating the actual problem.
Please state why you need to do this. Are you trying to let users who don't have Crystal installed on their PC run a Crystal report?
Cheers,
- Ido CUT, Visual CUT, and DataLink Viewer:
view, e-mail, export, burst, distribute, and schedule Crystal Reports.
www.MilletSoftware.com googletag.cmd.push(function() googletag.display('div-gpt-ad-1406030581151-2'); ); Red Flag This PostPlease let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.
CancelRed Flag SubmittedThank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.
Data that is returned by Crystal Reports 2008 is fetched from the databaseusing PeopleSoft Query; data that is returned by BusinessObjects EnterpriseXI is fetched from the database using Query Access Services (QAS). Therefore,the data is already language-sensitive due to the automatic joining to relatedlanguage tables that PeopleSoft Query performs. No special logic is requiredto ensure that appropriate descriptions from related language tables are returnedin Crystal Reports output.
The Crystal Reports .rpt file contains the layout of the report andany text that is hard-coded into the layout, such as column headings, headers,and footers. Because Crystal Reports does not provide any ability to maintainmultiple translations of this boilerplate text in a single .rpt file, youmust maintain a separate copy of the report layout for each language.
Crystal Reports supports several different languages. You choose thepreferred language during the install of the Crystal Reports 2008 application.Each language version of Crystal Reports is functionally identical; the primarydifference is the language of the Crystal Reports Designer user interface.You do not need to match the language of the Crystal Reports design or runtimeengine to the language of the report that you are creating unless you areusing the Crystal ToWords function. You can overcome this limitation by usingthe PSToWords or PSToWordsLoc functions.
PSToWords and PSToWordsLoc are similar to the Crystal ToWords functionin that they convert a numerical amount into a textual representation of thatamount, as you see on checks. But unlike ToWords, these functions are independentof the installed language of Crystal Reports Designer. After you configurethe location of the supporting .dlls, these functions appear in the CrystalFunction Editor as new Additional Functions.
PSToWords and PSToWordsLoc functionality is contained in three filescalled icudt34.dll, psicuin34.dll, and psicuuc34.dll. These files are locatedin your \bin\client\winx86 directory. Unlikein prior releases, in PeopleTools 8.51 and higher, you do not need to manuallycopy these files to your local directory where crw32.exe is installed (forexample, C:\Program Files\Business Objects\BusinessObjects Enterprise12.0\win32_x86). These files are automatically copied for you whenyou install the PeopleSoft ODBC and Crystal Runtimes.
Similarly, for Crystal Reports XI, you don't have to copy the filesbecause the installation program automatically does this for you. For ProcessScheduler to use these functions in a scheduled report, you do not need toconfigure anything because \bin\client\winx86 isthe current directory for the Process Scheduler.
You can enter PSToWords or PSToWordsLoc directlyin the Function Editor, or you can select these functions from the list ofadditional functions in the Function Editor of the Crystal Reports 2008 Designer.To confirm that the .dlls are loaded in Crystal Designer, select Help,About, More Info, and check that the three psicu files are listed.
The syntax for PSToWordsLoc is PSToWordsLoc(locale,number,places), wherethe locale parameter specifies an InternationalOrganization for Standardization (ISO) language or locale code. For instance, PSToWordsLoc("es",12.345,2) prints doce y 35 / 100. For examples of ISO locales that are usedin PeopleSoft Enterprise products, see the following cross-references.
Crystal Reports is Unicode-enabled, except in Application Protocol Interface(API) function calls. To work around this limitation, PSToWords and PSToWordsLoc returnany non-USASCII characters as HTML decimal entities. To convert these entitiesto Unicode characters, you need to include a report custom function in your.rpt file. In Crystal Reports Designer Formula Workshop, create a new ReportCustom Function called PSToUChar and paste in the following code:
The largest number converted to words is 999,999,999.999 for most languages.Numbers higher than that amount, or where the encoded string of words wouldexceed 254 bytes, appear as digits rather than as words.
Because Thai words for numbers often exceed the 254-byte limit whenencoded as entities, you can use the special locale x-th instead of th toreturn the Thai characters without encoding them as entities. Using the speciallocale allows a longer string to be processed, but requires a server witha system default locale set to Thai. The syntax for Thai processed in thisway is: ToWordsLoc("x-th",number,places).
The ToWords function (used in printing checks) is supplemented by PSToWords,which can support any PeopleSoft-supported language instead of just the languageof the installed version of Crystal Reports.
If the report still does not exist, the application appendsthe language code that uses the base language as defined for the PeopleSoftsystem to the path that is set in the -RP parameter and searches for the report.
The Crystal Reports for PeopleSoft application appends thelanguage code, as defined by the -LG parameter of the command line, to thepath that is set in the directory that is specified by the CRWRPTPATH environmentvariable and searches for the report.
If the report still does not exist, the application appendsthe language code that is the base language as defined for the PeopleSoftsystem to the path that is set in the directory that is specified by CRWRPTPATHand searches for the report.
b1e95dc632