Randem Systems Support Board

InnoScript => InnoScript - General Questions, Report Bugs, Problems etc... => Topic started by: jmel811 on April 07, 2007, 02:51:34 PM

Title: Runtime Error 5
Post by: jmel811 on April 07, 2007, 02:51:34 PM
Using 6.3, Every time I try open a project or start a new one I get an error 5 (Invalid procedure call or argument). I have tried uninstalling and reinstalling that did not help. I also tried to delete the Innoskript.ini, still no luck. Same problem with 5.
Title: Runtime Error 5
Post by: Randem on April 07, 2007, 09:04:50 PM
You probably have a bad download. Re-download and re-install. The current version is 6.0 Build 6.
 
What are the details?  
 
What OS are you using?
Were there any problems with the install?
Are you on a trial version?
 
etc...
Title: Runtime Error 5
Post by: jmel811 on April 08, 2007, 03:54:55 AM
Windows XP
No problems with install
 
I was using a registered version 5.3 worked fine until yesterday, when I went to run the program I received an error 5 when I tried to open a new project. I uninstalled and reinstalled no luck I downloaded and installed both 6.3 then 6.6 I still got the same error. I then tried to re-install 5.3, it will install but when I try to run 5 it will not run at all and I get an error 430.
Title: Runtime Error 5
Post by: Randem on April 08, 2007, 08:17:55 AM
If it was working fine until then... it was something that was installed on your machine that has thrown it into errors. If you get a 430 error that means that a component is bad and probably a different version of the component that InnoScript uses was installed on the machine.
 
In most cases it is probably different versions of the VB Runtime files that another app has installed. I would suggest to first download the Automatic OS Updater (https://randemsystems.com/os-updater-support) from our website and install that to see if the problem goes away.
Title: Runtime Error 5
Post by: Randem on April 08, 2007, 08:24:58 AM
Does this error also happen when you open an existing project also?
Title: Runtime Error 5
Post by: jmel811 on April 08, 2007, 12:23:52 PM
Yes! open project will cause the same error
 
I tried the auto OS updater, that had no effect. Are all the runtime files Innoscript uses installed with the updater
Title: Runtime Error 5
Post by: Randem on April 08, 2007, 01:05:39 PM
Do similar errors happen with other VB programs? I can send you a trace program to find out where in the app it fails so that I can find out where to look to find the error.
Title: Runtime Error 5
Post by: jmel811 on April 08, 2007, 01:54:04 PM
Other VB Programs appear to be working ok.  
 
I will try the trace program, as I would like to continue using innoscript for my projects.
Title: Runtime Error 5
Post by: Randem on April 08, 2007, 02:47:31 PM
Here is the trace file. Replace your exe with this one then run the program. After the error happens zip and send the logs that will be in the InnoScript folder in a folder named RSTools Logs
 
Thanks.
Title: Runtime Error 5
Post by: jmel811 on April 08, 2007, 03:16:00 PM
This should be what you need
 
Title: Runtime Error 5
Post by: jmel811 on April 08, 2007, 03:20:02 PM
Or better yet this file
 
Title: Runtime Error 5
Post by: Randem on April 08, 2007, 03:44:59 PM
Did you upload the file immediately after the error? Before pressing OK. I don't see any break in the program flow. Does the program shutdown gracefully or abruptly?
Title: Runtime Error 5
Post by: jmel811 on April 08, 2007, 03:53:56 PM
This file is uploaded before pressing OK. After OK is pressed the program ends abruply.
 
Title: Runtime Error 5
Post by: Randem on April 08, 2007, 03:56:57 PM
Ok, Try this
Title: Runtime Error 5
Post by: jmel811 on April 08, 2007, 04:40:45 PM
Sorry but I still get error 5 with the new file
Title: Runtime Error 5
Post by: Randem on April 08, 2007, 07:22:25 PM
oK, I have it narrowed down to one area now. Has anything changed on your machine since it worked? Changed display resolution etc...?
Title: Runtime Error 5
Post by: Randem on April 08, 2007, 07:59:17 PM
Run this file
Then tell me the line number in the error message.
Title: Runtime Error 5
Post by: jmel811 on April 09, 2007, 03:58:56 AM
I have not done any major changes to my system. I have installed a couple of programs, but I doubt if they did. I will run the trace file when I get home tonight, and get back to you.
Title: Runtime Error 5
Post by: jmel811 on April 09, 2007, 01:13:43 PM
OK  
Error is online 650. This time when I press OK Inno dose not crash.
Title: Runtime Error 5
Post by: Randem on April 09, 2007, 07:16:09 PM
Yes, I figured it would not crash... But does it work? I have uploaded a version with a change and without the trace code. See if this works also.
Title: Runtime Error 5
Post by: jmel811 on April 10, 2007, 03:36:24 AM
Yes, it dose work but not correctly I will get errors like VB runtime not found, and the script it generates is not correct directory wise. I will try the new 6.0.7. tonight.
Title: Runtime Error 5
Post by: jmel811 on April 10, 2007, 03:17:18 PM
Using 6.0.7 When I first open Innoscript and select new or open I get a Invalid procedure call or argument on line 650. After I press ok, there are no more error mesages on new project or open project. The only thing that i notice is the program seems to be erratic finding files in the correct directories or not finding them at all.
Title: Runtime Error 5
Post by: Randem on April 10, 2007, 07:10:24 PM
I will re-upload
Title: Runtime Error 5
Post by: jmel811 on April 11, 2007, 03:36:33 PM
Innoscript is now running without errors. Just a couple of questions though, when Inno is first started 3 or 4 blank windows will briefly show then disappear when new or open is chosen, I don't know if that is a issue or not. Also when I select add a folder, for my ocx dll, the program will not find the files in that directory, and the files it dose find will not have the correct directory, in the script, where the files are located. This was working correctly before the error started.
Title: Runtime Error 5
Post by: Randem on April 11, 2007, 07:46:18 PM
The windows you see are fine. That is the expected behavior for now. Add folder is not for ocx and dlls unless they are not automatically found by InnoScript. The Add Folders selection is for extra files such as text, database, graphics etc... that are not included in the program but the program needs.
 
If you want to add a folder for InnoScript to search for your dll/ocx files, you add that folder name in the Search Path Area.
Title: Runtime Error 5
Post by: Randem on April 11, 2007, 09:56:55 PM
Regarding finding files where they do not exist is an issue when InnoScript finds that the file is registered it does not verify that the file really exist. So, in your script you are seeing the registerd location not the actual files location. You will have to re-register the files that are the noted in the wrong location for InnoScriot to correct this in the script.
 
This will change in the future...
Title: Runtime Error 5
Post by: Randem on April 11, 2007, 10:16:12 PM
Replace your file with this one...
Title: Runtime Error 5
Post by: jmel811 on April 12, 2007, 01:24:56 PM
Innoscript is now working fine  
 
Thank you for your help and patience.
 
John
Title: Runtime Error 5
Post by: Randem on April 12, 2007, 05:38:45 PM
You are welcome. We love customers like you who will take the time to report problems so that we can fix them and make the product better.
 
Thank you for reporting these issues.