Visual Basic Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsProgrammingVisual Basic Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
Free Web 2.0 Code Generator! Generate data entry and reporting .NET Web apps in minutes. Quickly create visually stunning, feature-rich apps that are easy to customize and ready to deploy. Download Now!
  #1  
Old August 27th, 2003, 11:52 AM
antonio.mairena antonio.mairena is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Aug 2003
Posts: 3 antonio.mairena User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Unhappy Crystal.CrystalReport

Hello,

I am trying to make an exe on my pc of code that works and that is already running on production box. However,
when i run it in design mode i get errors.

This is the code that alredy works on the pc that was created:
================================================== ===========

1 Private rptCrystal As Object
2 Set rptCrystal = CreateObject("Crystal.CrystalReport")
3 rptCrystal.WindowParentHandle = Me.hwnd
4 rptCrystal.DiscardSavedData = False
5 rptCrystal.ReportFileName = strReportName
6 rptCrystal.Connect = "DSN=" & Trim$(strConnect) & ";UID=reporter;PWD=goldenhorseshoe;DSQ="
7 nReport = rptCrystal.GetNSubreports

But Lines 4 & 7 kick the following error:
=========================================
Run-Time error '438':
Object doesn't support this property or method

i would appreciate any help,

thanks you in advance

antonio.

Last edited by antonio.mairena : August 27th, 2003 at 12:18 PM.

Reply With Quote
  #2  
Old September 9th, 2003, 10:01 PM
K_SAJESH K_SAJESH is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Sep 2003
Posts: 9 K_SAJESH User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
It is quit possible that the pc in which the software was developed had Crystal Report installed. and the current PC does not have the Crystal report installed.

In this case you can do two thing
1] Get the Crystall Report installed on your PC
2] Create the Setup using packaging wizard and install the software in the current PC.

Reply With Quote
  #3  
Old September 23rd, 2003, 12:01 PM
antonio.mairena antonio.mairena is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Aug 2003
Posts: 3 antonio.mairena User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Thank you.
Ok, i installed crystal report 8.5, but now i get an error in "Set rptCrystal = CreateObject("Crystal.CrystalReport")" What do i have to do now? What component or reference i have do add to my project?

Reply With Quote
  #4  
Old September 23rd, 2003, 03:08 PM
K_SAJESH K_SAJESH is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Sep 2003
Posts: 9 K_SAJESH User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Hello,
I too had the same problem. Actually Perviously I was using Crystal Report 6, Then I intalled Crystall Report 8.5 on the same PC. Then while developing I added Crystal Report 6 Engine to the reference. but I designed the Crystal Report in Ver. 8.5. This system had both the Crystal Report's. My Project worked fine.

But the problem arised when I tried installing it to new PC. I even tried Installing Crystal Report 6 first and then Crystal Report 8.5. But that dint help me.

So I made Installable Project on the PC where it was running fine. While building the Setup I added the Crystal Report Component also. Then I installed the setup of the project on a new PC. This solved the project. What I concluded is the I was using Ver.6 Engine and the Design waas done in 8.5 was the culprit. I could not fine an Engine in 8.5.

So when ever my HDD is formated I have to run setup of that project after everything is installed (even Crystal report 6 & 8.5.), Then the error is eleminated. Presently I am using this temperory Technic, but ofcourse this isnt the right technic.

Try doing this if it helps you.

Reply With Quote
  #5  
Old October 15th, 2003, 07:25 AM
m_lazor m_lazor is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Sep 2003
Location: Luxembourg
Posts: 156 m_lazor User rank is Corporal (100 - 500 Reputation Level)m_lazor User rank is Corporal (100 - 500 Reputation Level)m_lazor User rank is Corporal (100 - 500 Reputation Level)m_lazor User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 6
Well, in the first place it should be enough to register crpe32.dll. The file, of course, comes from a CR installation. And also, when you want to use an object it has to be registered, i.e. it has to be known, on the executing machine.

Reply With Quote
Reply

Viewing: ASP Free ForumsProgrammingVisual Basic Programming > Crystal.CrystalReport


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

 Free IT White Papers!
 
Accelerating Trading Partner Performance
One in five. That's how many partner transactions have at least one error. That is an amazing statistic, particularly given the extraordinary leaps in innovation across the global supply chain during the past two decades. Download this white paper to learn more.

 
Competing on Analytics
This Tech Analysis is designed to help identify characteristics shared by analytics competitors, and includes information about 32 organizations that have made a commitment to quantitative, fact-based analysis.

 
Cost Effective Scaling with Virtualization and Coyote Point Systems
An overview of the industry trend toward virtualization, how server consolidation has increased the importance of application uptime and the steps being taken to integrate load balancing technology with virtualized servers.

 
Five Checkpoints to Implementing IP Telephony
Implementation planning for IP PBX software and IP telephony has become vital as businesses replace discontinued legacy PBX phone systems. This informative whitepaper outlines five "checkpoints" for any implementation plan that will help make IP communications a successful proposition.

 
Hosted Email Security: Staying Ahead of New Threats
In the last two years, email has become a fierce battleground between the nefarious forces of spam and malware, and the heroes of messaging protection. The spam volumes increased alarmingly every month, bringing clever new forms of phishing and virus propagation attacks.

 

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway