I had finally got my frigging reports to open fine in my vb application. It took some time to get it to work for win 2k finding the right dll's and ocx files. Now I try to open a report from my app in windows xp and I get the following error:
ActiveX could not create the object
What the heck is all that about. I have also posted my INNO portion of the files I use for crystal reports. The INNO shows the required dll's. Can someone tell me if I am missing one or there is a mistake or an add on for windows XP with crystal.
I noticed something quite odd....
while installing my file on win2k all is well...goes right through the inno installation and registers the files at the end.
For windows XP when I do an install it just sits there at the end while registering the files. The hourglass remains on and it just sits there...seems like it is having problems registering the files.
Does anyone have a list of all the required DLL's and OCX's for XP or BETTER yet there INNO script that uses these files.
Im not sure what files need to be registered and what dont...seems like XP is trying to register something that it cant....
Source: C:\Documents and Settings\jhermiz\Desktop\SPI\CrystallInstallationFilesForSPI\CRFiles\craxdrt9.dll; DestDir: {cf}\Crystal Decisions\2.0\bin\; Flags: uninsneveruninstall sharedfile
Now the installation went through, BUT I still need to register this file. Does anyone know why XP wont register this file? I have to register it because when I try to run a report from my app, it says that the ActiveX object could not be created.
Somehow I think its refering to this file craxdrt9.dll
I noticed the implode.dll does not have a selection for only below versions xx.xx, so I corrected that script in the attached....(this is a correction to the one I originally posted, not a correction to your file)
In addition, in your file, I am not sure I am seeing the CR9deploy line....
Source: C:\MyPrograms\crFiles\CR9deploy.reg; DestDir: {cf}\Crystal Decisions\2.0\bin\; MinVersion: 4.1,4.0; OnlyBelowVersion: 5.0,5.01
if that is in your script somewhere else, you might want to check MinVersion and OnlyBelowVersion...to make sure they are correct.
(not sure it would be registering correctly without this.
I noticed the implode.dll does not have a selection for only below versions xx.xx, so I corrected that script in the attached....(this is a correction to the one I originally posted, not a correction to your file)
In addition, in your file, I am not sure I am seeing the CR9deploy line....
Source: C:\MyPrograms\crFiles\CR9deploy.reg; DestDir: {cf}\Crystal Decisions\2.0\bin\; MinVersion: 4.1,4.0; OnlyBelowVersion: 5.0,5.01
if that is in your script somewhere else, you might want to check MinVersion and OnlyBelowVersion...to make sure they are correct.
(not sure it would be registering correctly without this.
Let me know what you find.
In the attached?
So did you make changes? Where are the changes? Did you get my post regarding the craxdrt9.dll file with windows XP. Can you let me know what you have added, where it is, or changes you have made. I want to keep track of all this for a book :-p.
After I did this with getting rid of regserver for the file:
craxdrt9.dll
for MY script not yours as I said it went through the installation, but I had the activeX error. So I decided to register the file right through DOS with regsvr32 craxdrt9.dll
And it registered successfully...
So I went into my app and opened the report and sure as **** it worked....
Now my problem...
Why doesnt it register through INNO but it does register through DOS? Should I write a batch file that registers this file ????
If so can anyone tell me is it possible to run the batch through INNO? Also how to write the batch? Would it just be: