Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Visual Basic > VB 6 Visual Basic 6 > VB How-To
| Search | Today's Posts | Mark Forums Read
VB How-To Ask your "How do I do this with VB?" questions in this forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the VB How-To section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old December 2nd, 2004, 02:50 AM
Registered User
 
Join Date: Dec 2004
Location: , , .
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default Deploying Crystal Reports with VB 6.0

 Hello !!!!!!:)

I have used the VB package & deployment wizard for my
app.

Do I have to copy the Crystal report files onto the user machine ? Is there any other way to deploy the rpt files on the user machine ?

Thanks in advance

Regds



  #2 (permalink)  
Old December 2nd, 2004, 09:31 AM
Aal Aal is offline
Authorized User
 
Join Date: Oct 2004
Location: , , .
Posts: 37
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi Prav's ...
As far as i know...there's some components from Crystal to embeded our report, but that component make not for free...
anyway, which version of crystal report you use ?


  #3 (permalink)  
Old December 3rd, 2004, 01:52 AM
Registered User
 
Join Date: Dec 2004
Location: , , .
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hello Aal

Thank u for replying.

I use Crytal 9.0. I have used CRAXDRT9.DLL and CRVIEWer. The reports are inthe 'Reports' directory in my development environment. I opened up the report in th VB code as ----> crReport.OPenReport(App.path() & "\Reports\Reportname.rpt").

When I run the app on the user m/c it says, report file not found. SO I had to copy all the rpt file in the 'Reports' directory on the user machine (win98). It does not work after that too ( Illegal memory operation in CRAXDRT9.DLL :( )



Regds




  #4 (permalink)  
Old December 3rd, 2004, 01:54 AM
Registered User
 
Join Date: Dec 2004
Location: , , .
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hello

I will test the same app on Windows XP and Win2K user m/c. Let us see what happens.

Ciao



  #5 (permalink)  
Old December 3rd, 2004, 02:18 AM
Registered User
 
Join Date: Dec 2004
Location: , , .
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi Aal

It worked on WIn2K & WinXP m/c. It worked once on a Win98 machine today ( yesterday it failed - Invalid page fault in CRAXDRT9.DLL ). However, it crashed the second time on Win98( same error ).

Tks



  #6 (permalink)  
Old December 3rd, 2004, 10:12 AM
Friend of Wrox
Points: 7,395, Level: 36
Points: 7,395, Level: 36 Points: 7,395, Level: 36 Points: 7,395, Level: 36
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Capital Federal, , Argentina.
Posts: 2,189
Thanks: 5
Thanked 59 Times in 57 Posts
Send a message via MSN to gbianchi
Default

hi there..

im shooting the moon here, but could it be something with long names in the files????

remember that win 98 doesn't support long names files in a good way...

HTH

Gonzalo
  #7 (permalink)  
Old December 7th, 2004, 01:21 AM
Registered User
 
Join Date: Dec 2004
Location: , , .
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi Gonzalo

Tried that. Still the same behaviour. Works sometimes
and doesn't other times.

Will try uninstalling & installing CR9.

Keeping fingers crossed ...

Tks



  #8 (permalink)  
Old December 20th, 2004, 11:24 AM
Aal Aal is offline
Authorized User
 
Join Date: Oct 2004
Location: , , .
Posts: 37
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi Pravs . . .
Illegal Page Fault might be trigger by uncompatible function or else from the crystal *.DLL that using other's DLL from our OS (16 Bit or 32 Bit), if the DLL doesn't exist then It will shown as illegal by the system. For setup i got i nice one, you should try it ( Search for INNO SETUP this is free ) and Active Report in the net. But till now, i didn't get the way for embedding the reports ( Sorry ) except with the Embedded Object from Crystal. . .
Hope this can help u . . .
Keep the spirit still alive!!!!



Similar Threads
Thread Thread Starter Forum Replies Last Post
Deploying a software with crystal Reports akhilhp Visual Basic 2005 Basics 0 June 29th, 2007 02:12 AM
Deploying Crystal Reports in Dot Net Project krati ASP.NET 1.0 and 1.1 Professional 0 November 25th, 2006 06:32 AM
Deploying Crystal Reports in for Win App (URGENT) melvik Crystal Reports 9 January 12th, 2005 12:36 AM
Deploying crystal Reports with an Application naved Crystal Reports 1 October 25th, 2004 10:05 AM
deploying crystal reports coolabhi Crystal Reports 1 April 21st, 2004 10:49 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.