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.
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.
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 (mailto:vbcode@rabdin.com) a good address?
The email address is in my previous post. You can send it there.
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.
How are you coming along?
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.
Yes, send the new code.
BTW: The new version of InnoScript will automatically register the new components from the merge modules...
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
Harold,
Make sure the file vb5.dll (something to that effect) is included in your script. This not being there would most likely would be causing the failure in bound controls.
I don't have my computer so I can't get the exact file name.
post your script.
Ok, Thanks I will tomorrow and I will provide the File name.
The name of the file is vb5db.dll
Ralph, you are correct, as always.
I copied vb5db.dll to the System32 directory, and registerd it. The program works just fine on VISTA and XP. Now I would like to include it with the Innoscrip Setup. I placed it in the Add Files but Innoscript will not accept it.
That file is automatically added by InnoScript unless you change a default setting for the runtime files. Let's see your script and project file. Here is the default lines that InnoScript adds:
Source: c:\server data\randem\develop\innoscript\vb 6 redist files\msvbvm60.dll; DestDir: {sys}; Flags: uninsneveruninstall regserver restartreplace sharedfile; OnlyBelowVersion: 0,6
Source: c:\server data\randem\develop\innoscript\vb 6 redist files\oleaut32.dll; DestDir: {sys}; Flags: uninsneveruninstall restartreplace sharedfile; OnlyBelowVersion: 0,6
Source: c:\server data\randem\develop\innoscript\vb 6 redist files\olepro32.dll; DestDir: {sys}; Flags: uninsneveruninstall regserver restartreplace sharedfile; OnlyBelowVersion: 0,6
Source: c:\server data\randem\develop\innoscript\vb 6 redist files\asycfilt.dll; DestDir: {sys}; Flags: uninsneveruninstall restartreplace sharedfile; OnlyBelowVersion: 0,6
Source: c:\server data\randem\develop\innoscript\vb 6 redist files\stdole2.tlb; DestDir: {sys}; Flags: uninsneveruninstall restartreplace sharedfile regtypelib; OnlyBelowVersion: 0,6
Source: c:\server data\randem\develop\innoscript\vb 6 redist files\comcat.dll; DestDir: {sys}; Flags: uninsneveruninstall restartreplace sharedfile; OnlyBelowVersion: 0,6
Source: c:\server data\randem\develop\innoscript\vb 6 redist files\vb5db.dll; DestDir: {sys}; Flags: uninsneveruninstall restartreplace sharedfile; OnlyBelowVersion: 0,6
Ok, I see the problem. When you use the Auto OS Updater the VB runtime files get removed and not installed on Vista. Until I change that in the OS updater just add the line in the Vista template for the vb5db.dll file under the [Files] section (you will need to create this). That should solve the problem. Add the line (with source location modification)
Source: c:server datarandemdevelopinnoscriptvb 6 redist filesvb5db.dll; DestDir: {sys}; Flags: uninsneveruninstall restartreplace sharedfile;
Ralph
I installed the program on VISTA. Lots of complaints and bitching from the Operating System while installing. A regular user will have a very hard time understanding what is going on. Had to click the ignor button a couple times and the first time the data bank was opened, VISTI gave out warnings that will scare off many users. However the program works just fine if you get through all that.
Please be more descriptive about what happened and what errors were reported for me to be of any help in the situation.
What complained?
Which part of the installation?
What were the error messages?
This will be a problem if installing in the wrong folders etc...
Ralph, here is the fail when installing the program
C:/Windows/Sys32/VB5DL.dll unable to register /OCX:regsvr32 failed with exit code 0X4.
it happens close to the end of install. Clilck Ignore and the program completes installilng.
There should not be an attempt to register the file. There was no attempt to register it in the line of code I supplied. Lets see that script.
Also what is your installation location?
Ralph
I noticed you put up a newer version of VB_DCOM_MDAC_JET_AutoSetup.exe. Does it include VB5DB.DLL?
Yes, It Does...
This in fact is a good exercise to find this problem,and it was nice if you could resolve this problem,but if not I can change my Windows version to English,and see what happen!
What you think about this?
I believe you posted in the wrong thread. No don't change your version to english there is no need.
Yes...Post in the wrong thread...
Ok..