Go Back  Xtreme Visual Basic Talk > Legacy Visual Basic (VB 4/5/6) > General > Component CRYSTL32.OCX Problem


Reply
 
Thread Tools Display Modes
  #1  
Old 05-13-2002, 02:51 PM
Stever Stever is offline
Regular
 
Join Date: May 2002
Posts: 82
Default Component CRYSTL32.OCX Problem


I made my project into an executable and it works fine on my machine. When I take this program to other machines, I get the following error message that keeps my program from openning "Component 'CRYSTL32.OCX or one of its dependencies not correctly registered: a file is missing or invalid."

I found a CRYSTL32.OCX and downloaded it into my project folder, but I still get that same error message at other peoples machines. What can I do? Thanks.
Reply With Quote
  #2  
Old 05-13-2002, 03:02 PM
mhsueh001
Guest
 
Posts: n/a
Default Are You using pdw?

Are you using PDW to deploy your project or a similar deployment package?

If so be sure you have service pack 5, it corrects most of the problems with prior version of pdw and crystal.
Reply With Quote
  #3  
Old 05-13-2002, 03:21 PM
Stever Stever is offline
Regular
 
Join Date: May 2002
Posts: 82
Default

I can't use PDW. Everytime I try to load it from the Components, I get an error message "Error in Loading DLL".
Reply With Quote
  #4  
Old 05-13-2002, 05:00 PM
mhsueh001
Guest
 
Posts: n/a
Default Ok then try...

If PDW doesn't work, try using Visual Studio Installer.

Go to www.microsoft.com and just type in Visual studio Installer and it look for the link to the free download.

Your problem with crystal is that it's looking for files that aren't registerd in the windows registry and so it doesn't know where to get them.

An installer package takes care of knowing which dlls are needed and sets them up for you.

When I use Visual Studio installer, typically 3 errors are generated. If you double click on the error message that is generated, just delete the files that are underlined in red.
If you check out crystal decisions, they've indicated that for some reason the installer packages are pulling in older files that are no longer necessary.

After deleting the red underlined files build the project again and it should work.
Reply With Quote
  #5  
Old 05-14-2002, 01:48 AM
AndreRyan AndreRyan is offline
Contributor
 
Join Date: Jan 2002
Posts: 489
Default

If it is an ActiveX DLL or Control you have to register it:

1)From Start choose Run
2)Type REGSVR32 "LOCATION_OF_DLL_OR_OCX_OR_ETC"

Last edited by AndreRyan; 05-14-2002 at 02:06 AM.
Reply With Quote
  #6  
Old 05-14-2002, 01:58 AM
Anis's Avatar
Anis Anis is offline
| Coder XXX |

Retired Leader
 
Join Date: Jun 2001
Location: Kuala Lumpur, Malaysia.
Posts: 3,018
Default

Have you registered your Crystal Reports version?..
__________________
Regards,
Muhammad Anis Ur Rehman

Miles to go Before I Sleep.

http://www.projekcarpet.com/anis.html
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Advertisement:





Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
subscribe
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
subscribe
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..
subscribe
 
 
-->