VB 6 - Crystal Reports - VIsta

Started by harold_adams, June 23, 2008, 08:11:25 AM

Previous topic - Next topic

harold_adams

here is what I have to do to get the program to work
Use Inno Setup to install the program.  Program installs with no problem but every time i call a Form with a Data Grid, I get runtime error 91, Object Vairable or With Block not set.  I looked at this very close and found at the time of the fail, parameters are being sent to the Data Grid based on its connection to the Data Object however, the Data Grid did not bind with the Data Object causing the error.  I replaced all Data Objects and Data Grids and rebound them but, it did not help.
I was tired and accidently installed the program again (without uninstalling) using the Windows Set Up Assistant Package and Deployment.  The Programs ran just fine.  Every thing including Crystal Reports.
 
HOWEVER
 
to help find out where the problem is I uninstalled everything and  installedd the program using the Windows Set Up Assistant  first.  The program ran fine but Crystal Reports did not work.  THEN if I install the program again using Innoscrip, the program runs just fine.  This tells me Innoscript is not installing a file needed by the Data Bound Grids and the Microsoft Pachaging program cannot install Crystal Reports Support package properly.  Help

Randem

Yes, send the new code.
 
BTW: The new version of InnoScript will automatically register the new components from the merge modules...

harold_adams

all calls for DAO 3.51 have been eliminated. The Databank was converted to ACCESS 2000.  The Program was amended (in many, many places), to use only DAO 3.6.  Would you like to have the new code?  Tonight I will try to install on Vista and XP and do a manual register on the Crystal files.

Randem


Randem

I did some more testing on your system and found that you need DAO 3.51 along with DAO 3.60. In VB6 you can only select one of these, but you need to deploy both. This is exactly what I was referring to when I stated you should not be using DAO. There is no guarantee that this will work on Vista.
 
The way you can test your app for the dependency of DAO 3.51 is to use InnoScript to delete 3.51 from your registry then test your app you will find all the problems associated with this and can change these calls to use DAO 3.60 calls.
 
This is one of those Bound Data Control problems and why one should not use them. Use ADO code, it will keep your code clean and usable on the different OS's.
 

BTW: Your problems start in the Load event of the members form.

Randem

The email address is in my previous post. You can send it there.

harold_adams

Ok, I made the $50.00 payment and was sent to a page saying thank you but no information on where to email the code.  I tried the link on the info page and got a cannot identify page. is vbcode@rabdin.com a good address?

Randem

Yes, you send your app for testing. Zip it and send it to vbcode at randem.com. if it is too large for your email client to handle I can give you FTP access so that you can upload it. The charge would be $50.00 for the installation check and we will give you written suggestions that we find that will get your app working if code changes are needed.
 
 
You can pay via paypal to payments at randem.com. Let me know if you have any other questions and I will get them answered.

harold_adams

Greetings.
I have tried and tried, used all your suggestions but my program will not load on VISTA or Lap Tops using XP. I automtically download all Innoscrip updates.  I use VB60 with all its updates and Crystal Reports 11.  The same fail always shows.Cannot register and then a very long number Is it possible to send you the VB6 code for testing.  I am willing to pay, even though we are a non-profit org.