Results 1 to 3 of 3

Thread: [VB4] Software Update Help

  1. #1

    Thread Starter
    New Member
    Join Date
    Jan 2011
    Posts
    1

    Question [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 =)
    Last edited by Schott; Jan 3rd, 2011 at 05:46 AM.

  2. #2
    PowerPoster RhinoBull's Avatar
    Join Date
    Mar 2004
    Location
    New Amsterdam
    Posts
    24,132

    Re: [VB4] Software Update Help

    Welcome to Forums, Schott!

    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.

  3. #3
    PowerPoster Keithuk's Avatar
    Join Date
    Jan 2004
    Location
    Staffordshire, England
    Posts
    2,236

    Re: [VB4] Software Update Help

    Welcome to VBForums, Schott.

    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.
    Keith

    I've been programming with VB for 25 years. Started with VB4 16bit Pro, VB5 Pro, VB6 Pro/Enterprise and now VB3 Pro. But I'm no expert, I'm still learning.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width