Results 1 to 9 of 9

Thread: Vb 6.0 Setup and Crystal Report 8

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Nov 2002
    Posts
    83

    Question Vb 6.0 Setup and Crystal Report 8

    Hi friends i have developed an application in visual basic 6 using Access 2000 as database... and seagate crystal report 8 as reports... evey things fine... but when i create a package Program and install the setup on some other computer which do not have Crystal Report Installed on it then reports give me the Problem.... i have used DSN To Connect to Reports when i was Creating them..... The Error Code Returns to me is "" Physical Dtabase not Found... " but the database is present is already there.... this mean that i have to install the seagate crystal report on the client computer.... The Problem seems to be of Drivers which i m using but dont know how to add them when packing the software Script.... i have Added the following dll
    named .... 1. crviewer.dll
    2. crpaig80.dll

    i think i m missing some driver files but which files i dont know
    so do hel p me friends..........

    1 more thing that i m using package and deployment wizard to create setup..........

  2. #2
    Banned dglienna's Avatar
    Join Date
    Jun 2004
    Location
    Center of it all
    Posts
    17,901

    Re: Vb 6.0 Setup and Crystal Report 8

    CR does not like to play nice with the P&D wizard. Search for CR problems, and look for ones by RobDog888. He has posted in the past.

  3. #3
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709

    Re: Vb 6.0 Setup and Crystal Report 8

    I thought I heard my name!

    If you are using the Developer version of CR you will have a file
    called "runtime.hlp". In it, it gives a complete list of the required dlls and ocxs
    that are required for each type of function or action you are doing in your
    program.

    On my system it is located in:
    D:\Program Files\Seagate Software\Crystal Reports\Developer Files\Help\Runtime.hlp

    Physical Database not found error is not necessarily meaning that the db is
    not there it means that your not logged in or the location is not set.

    See this for more on the Physical DB Not Found issue.



    HTH
    VB/Office Guru™ (AKA: Gangsta Yoda®)
    I dont answer coding questions via PM. Please post a thread in the appropriate forum.

    Microsoft MVP 2006-2011
    Office Development FAQ (C#, VB.NET, VB 6, VBA)
    Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
    If a post has helped you then Please Rate it!
    Reps & Rating PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI Viewer utility.NET API Viewer Utility
    System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6

  4. #4

  5. #5
    Banned randem's Avatar
    Join Date
    Oct 2002
    Location
    Maui, Hawaii
    Posts
    11,385

    Re: Vb 6.0 Setup and Crystal Report 8

    vbcoder2,

    Try ********** and Inno Setup to create your installation. ********** should find all the OCX/DLL/EXE that you need as long as they are not called dynamically.

  6. #6

    Thread Starter
    Lively Member
    Join Date
    Nov 2002
    Posts
    83

    Resolved Re: Vb 6.0 Setup and Crystal Report 8 (Resolved )

    Thanks Friends
    Problem Solved Finally


    P2smondb.dll is the file
    which i got from rumtime.hlp in C:\Program files\seageate\.....

  7. #7
    New Member
    Join Date
    Apr 2005
    Posts
    1

    Unhappy Re: Vb 6.0 Setup and Crystal Report 8

    help me pls ....

    i have developed an application in visual basic 6 using MySQL as database... and seagate crystal report 8.5 as reports... evey things fine... but when i create a package Program and install the setup on some other computer which do not have Crystal Report Installed on it then reports give me the Problem.... i have used DSN To Connect to Reports when i was Creating the report.... The Error Code Returns to me is " run-time error 713 : Application defined or object defined error "

    what should i do?

  8. #8
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709

    Re: Vb 6.0 Setup and Crystal Report 8

    Welcome to the Forums.

    Usually its best if you create a new Thread when you have a question.

    Short answer would be to make sure all your CR dependancies are included in your setup package. To determine
    which files you need to add, it depends on the functions and objects you are using in your program. If you have
    the Developer version of CD then you will have a help file called Runtime.hlp that will contain the info. If not you
    may be able to find info at businessobjects.com.
    VB/Office Guru™ (AKA: Gangsta Yoda®)
    I dont answer coding questions via PM. Please post a thread in the appropriate forum.

    Microsoft MVP 2006-2011
    Office Development FAQ (C#, VB.NET, VB 6, VBA)
    Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
    If a post has helped you then Please Rate it!
    Reps & Rating PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI Viewer utility.NET API Viewer Utility
    System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6

  9. #9
    New Member
    Join Date
    May 2006
    Location
    i live at the house called home.
    Posts
    1

    Thumbs up Re: Vb 6.0 Setup and Crystal Report 8

    Crystal Report Include a Report Distribution expert which compile your report so when you install it to another computer without crystal report it will be viewable. but as alternative you could just look for "corelist.ini" after you compile a report using Report Distribution expert this holds the list of file you need to include in your package.
    or Just browse to C:\windows\crystal and copy all files on this folder.
    then goto C:\windows\system32 and copy all files that has all file associated with seagate.

    these files are needed to be installed on your client computer. in the same directory specified above. and register them using selfregister tag or whatever.

    Note: i prefer using Innosetup rather than microsoft's package and deployement due to major publishing issues. though inno setup requires scripting , it will make your installation more personalized.


    note: if ever those procedure dont work(but it work on my apps) please dont be fooled by immitation.

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