[VB4] Software Update Help
Happy new year everyone. How are you all doing?
Today, this guy on the office asked for my help to update a software.
Its a pretty simple program. Its a report generator that uses Crystal Reports and Access. The problem is that it was written in VB4.
A simple description of what the software does:
When you run it, youll find yourself in a windows where you can select what kind of reports to print. You just select the boxes for each report. Then you'll click on Print and thats it. As it is today, there is no pre-visualization before printing or anything else.
I've been asked to make it so the reports can be visualized before they are printed and that a virtual copy of the reports should be saved in a specific directory.
I was wondering if any of you could help me out with a few recomendations, as I never used VB4 before.
Are there compatibility problems between VB4 and the newest versions of VS and Crystal Reports I should know?
To make the pre-visualization for each report, would it be enough to call CrystalReportViewer1 in a different form?
Those are just some specif doubts I have. Any general recommendation would be greatly appreciated as I'm pretty lost right now.
Thank you ery much =) :wave:
Re: [VB4] Software Update Help
Welcome to Forums, Schott! :wave:
Solution depends on software that your company has in-house.
If they have VB4 then it's probably easier to just modify that program by "telling" crystal control to preview report first instead of sending it directly ro printer - there is a different parameter for each method (if I am not mistaken you would need to assign the Destination property value).
If they don't have VB4 then...
- if VB6 is avalable then you may port vb4 project to VB6 easily IF they also have Crystal report software (any version from 5 to 8.5)
- if you have VS 2005 then might arguably be a better option of all: VS 2005 came shipped with Crystal Reports 10; I would try re-writing VB4 program in VB 2005.
Re: [VB4] Software Update Help
Welcome to VBForums, Schott. http://www.vbforums.com/images/ieimages/2006/08/1.gif
If your converting this to VB6 then VB4 came with Crystal Reports 4.0 as a standard install. VB6 came with Crystal Reports 4.6 but it wasn't a default install you have to find it and install it of the VB6 CD. Once 4.6 is installed then it should update the control and code automatically.
Happy New Year. ;)