what can we do to protect the cyrstal rpt after putting on
client machine so that the user or anybody should not open or
ever if possible should not be able to see
can somebody advise
Printable View
what can we do to protect the cyrstal rpt after putting on
client machine so that the user or anybody should not open or
ever if possible should not be able to see
can somebody advise
You can include the reports in your exe (no rpt files), by using the report viewer.
Examples are located here:
http://support.crystaldecisions.com/...s/apps_rdc.pdf
i have seen the site but didnt get any thing related to my qry
can u explain me how to include the rpts in exe
From the main menu select 'Project' and 'Add Crystal Reports x.x'.
When the Crystal Report Gallery screen is displayed, clcik on the 'From an Existing Report' (I assume that you already created the report).
This will add a new form containing the report viewer and a designers object, which is your report.
You must now go to 'Project' / 'Properties' and change the Startup Object back to what it was, since crystal changes it to the new form with the report viewer.
You will need to modify your code to load the report viewer with your report. You can use the same report viewer to display more than one report.
showVendorDetail is a sub on the form containing the report viewer. To call it
Code:call showVendorDetail
To get a better understanding of the report viewer, you will have to download some of the examples in that document.Code:
Public Sub showVendorDetail()
Dim crxVendorDetail As New crVendorDetail
Set crxVendorDetail = New crVendorDetail
'Change report tables locations.
For Each crxDB In crxVendorDetail.Database.Tables
crxDB.Location = strSearchResultDataBase
' crxDB.SetSessionInfo "", Chr(10) & strPassWord
Next crxDB
CRViewer1.ReportSource = crxVendorDetail
End Sub
Good luck.
Ken Bradford thanks 4 your reply
I have tried as you advised me but i didnt fount the
'Add crystal Report ' in Project menu
so i couldnt move ahead can u tell me how to make it available
What version of cr are you running?
To be able to see: Crystal Reports # in the Add menu in the PRoject explore you should have to have enabled it in:
Project...Components...Designers
and select the Crystal Reports version that you have.
Then it´ll appear in the project explorer