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

Thread Tools Display Modes
Old 05-13-2002, 01:51 PM
Stever Stever is offline
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
Old 05-13-2002, 02:02 PM
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
Old 05-13-2002, 02:21 PM
Stever Stever is offline
Join Date: May 2002
Posts: 82

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
Old 05-13-2002, 04:00 PM
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
Old 05-14-2002, 12:48 AM
AndreRyan AndreRyan is offline
Join Date: Jan 2002
Posts: 489

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

1)From Start choose Run

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

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

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

Miles to go Before I Sleep.

Reply With Quote

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


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.
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
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..