|
-
Oct 22nd, 2003, 01:20 AM
#1
Thread Starter
Hyperactive Member
Protecting crystal rpt
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
-
Oct 22nd, 2003, 08:31 AM
#2
Addicted Member
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
-
Oct 22nd, 2003, 11:44 PM
#3
Thread Starter
Hyperactive Member
crystal rpt
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
-
Oct 23rd, 2003, 06:59 AM
#4
Addicted Member
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
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
To get a better understanding of the report viewer, you will have to download some of the examples in that document.
Good luck.
-
Oct 27th, 2003, 06:43 AM
#5
Thread Starter
Hyperactive Member
Crystal Report protecting
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
-
Oct 27th, 2003, 07:49 AM
#6
Addicted Member
What version of cr are you running?
-
Oct 27th, 2003, 10:49 AM
#7
Hyperactive Member
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
"Who Dares Wins" - "Quien se Arriesga Gana"
Mail me at: 
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|