General information
Category:
Coding, syntax & commands
Several months ago, I attempted the same task, and had the same problem. I wanted to distribute a compiled app using the Active X control. The control and printing worked fine on my machine. In this particular case, I only needed to distribute the application one time, to one user. And in this case, the client was a user of Visual Accountmate Accounting, which uses Crystal. What I realized, after many many unproductive hours, was that any machine that had the Visual Accountmate Runtime installed, would be able to run the Active X control. So, Accountmate's installation routine, therefore, must installl/register the necessary DLL's, etc. So, in this particular case I indirectly solved my problem, and got the user up and running.
Now, however, I need to distribute an application to 20 separate users, on laptops. And I fear that I will have the same problem again.
This time, I have started to research the use of the RDC (Report Designer Component). I am trying to determine if it can be used instead of the OCX.
Crystal's documentation on the RDC makes a big deal over how much more advanced the RDC is over the OCX. The OCX however, does everything I need it to, and I would be happy to use it, if I can be sure it will install via an 'easy' setup routine. Also, the majority of the installations will be on Win2k Prof. I have no idea if that will be an issue.
>>I am using Crystal Reports Active X included in my form and it's all part of my EXE that I am including on my Distribution Disk. I make the disks without a hitch. When I run Setup to install my distribution disk, I get CRYSTL32.OCX was unable to register itself in the system registry. And pressed OK. Later I also got AED.EXE was unable to register itself in the system registry.
>>
>>What is wrong and how can I fix it?
>>
>>I went back and repeated the build distribution disk process and chose some additional Crystal Report Active X (OCX files), but still got the same errors. Does anyone know when the Crystal Report OLE object is placed on a form so that I can run a Crystal Report by pressing a button on my form to Print a Crystal Report, what Crystal OCX files do I need in my distribution disk set?
>>
>>And what's the syntax for the Windows 98 Regsrvr command if I want to register my OCX files in the Windows registry myself?
>>
>>TIA!
>
>Steve
>
>I often found that raw win95/98 does NOT install certain files needed for registering ActiveX components.
>
>One file that comes to mind is OC30.DLL
>There are a few other lik MFC42.dll
>
>I usually run a batch file first that copies these files to the WIN/sys directory and then the install proceeds and the OCX's are registered.
>
>Check that the following files are on the client's computer as well.
>
>OC30.DLL
>OLE2.DLL
>MSVCRT20.DLL
>MFCANS32.DLL
>COMPOBJ.DLL
>STORAGE.DLL
>OLE2DISP.DLL
>OLE2NLS.DLL
>TYPELIB.DLL
>
>Also you may need to register some of the files:
>REGSVR32 c:\WINDOWS\SYSTEM\OC30.DLL
>
>etc.
>
>HTH
>
>Bernard
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only