For Programmers: Free Programming Magazines  


Home > Archive > Visual Basic Crystal Reports > December 2005 > Does CR XI Works on VB6 platform ...









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Does CR XI Works on VB6 platform ...
msnews.microsoft.com

2005-12-13, 4:15 am

Hi,

Can any one help me for the following queries,

1. Does Crystal Report Ver. XI will works on Visual Basic 6.
2. We would like to export to PDF file to be stored to a destination decided
programmatically
3. We would like the PDF file to be stored as a BLOB object in a SQL Server
table.
4. We would like to password protect the PDF file with a password passed by
the VB application.

We would like to open the PDF file immdiately after we generate it, and
would like the password to be passed automatically by the application to the
PDF reader. IS this possible in general?


Thanks & Regards
M. Subbaiah


dave

2005-12-14, 10:02 pm


> 1. Does Crystal Report Ver. XI will works on Visual Basic 6.

Yes, but you must have a Developer version of CR. You can download the
CR 10 samples apps here (there used to be samples specifically for XI,
but they're hiding them to try to wean people from using the RDC to get
everyone to migrate to .NET):
http://support.businessobjects.com/...samples.exe.asp

Also, I suggest you download this utility, which lays out the object
model in an easy to use tree view format (it says it's for CR9, but the
object model hasn't really changed between CR 9 and XI):
http://support.businessobjects.com/...browser.exe.asp

> 2. We would like to export to PDF file to be stored to a destination decided
> programmatically

Not sure if the samples address exporting, but it can be done fairly
easily. You can set the export options (type, destination, etc.) in
code, then call a method to export the report (see ExportOptions under
the Report object in the RDC browser utility).

> 3. We would like the PDF file to be stored as a BLOB object in a SQL Server
> table.

That you'd have to handle between VB and SQL Server. As long as you
know where the report was exported to, it should be fairly easy to
upload the exported pdf into a table.

> 4. We would like to password protect the PDF file with a password passed by
> the VB application.

Crystal doesn't have that functionality. To do that, you'd either have
to have some kind of pdf component that allows for that, or use the
acrobat SDK.


> We would like to open the PDF file immdiately after we generate it, and
> would like the password to be passed automatically by the application to the
> PDF reader. IS this possible in general?

Opening the pdf wouldn't be an issue, but you'd likely have to use
something in the Acrobat SDK to figure out how to pass the password to
the file.
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2009 codecomments.com