Randem Systems Support Board

InnoScript => InnoScript - General Questions, Report Bugs, Problems etc... => Topic started by: Anonymous on December 14, 2004, 09:57:44 AM

Title: Runtime Error 5: Invalid procedure call or argument
Post by: Anonymous on December 14, 2004, 09:57:44 AM
Hi,
 
When i run the new version of Innoscript 3.1.5 i get Runtime Error:5 Invalid procedure call or argument and it closes.
I updated all my dll's and VB components. This was running fine last week and all of a sudden i am getting this problem.
Could you please help me ASAP.
Please have a look at my ini file:
 
[Errors]
ErrorNo=0
[InnoScript]
MinWinVersion=1
MinNTVersion=1
VBVersion=6
ProcessFile=0
TemplateFile=0
UseUNCPath=0
SafeMode=True
AutoOSUpdater=0
LastSaveDir=C:Program FilesRandem SystemsInnoScriptInnoScript 2.3
FormColor=12632064
RTFColor=12632256
SearchPath=C:WINDOWSsystem32;C:WINDOWS;C:WINDOWSSystem32Wbem;C:Program FilesSonicMyDVD;
AppDir1=C:Program FilesMicrosoft Visual StudioVB98Series 31
PDWFile1=C:Program FilesMicrosoft Visual StudioVB98Series31PackageSETUP.LST
VB6Dir1=C:Program FilesRandem SystemsInnoScriptInnoScript 2.3VB6 Runtime
InnoSetupFile1=C:Program FilesMicrosoft Visual StudioVB98Series 31Series31.iss
NTServicePack=
VB6Dir2=C:Program FilesRandem SystemsInnoScriptInnoScript 2.3VB5 Runtime
VB6Dir3=C:Program FilesRandem SystemsInnoScriptInnoScript 2.3VB5 Runtime
VB6Dir4=C:Program FilesRandem SystemsInnoScriptInnoScript 2.3VB5 Runtime
LastProjectFolder=
[Screen]
Left=0
Top=0
Width=10290
Height=5325
WindowState=0
[BScreen]
Left=60
Top=60
Width=12120
Height=8670
WindowState=2
Title: Runtime Error 5: Invalid procedure call or argument
Post by: admin on December 14, 2004, 05:24:23 PM
Anonymous,
 
This file is not compatible with version 3.1.0 and later as stated on the website and the help instructions. I suggest you create a new project using the same information and you will not get the Error 5.
Title: Runtime Error 5: Invalid procedure call or argument
Post by: admin on December 15, 2004, 08:05:50 PM
Anonymous,
 
What you need to do is to rename the InnoScript.ini file to another name then run InnoScript to let it create a new .ini file.
 
Use the follow project file for your project. Use File->Open project to use this file and you are on your way. Of course rename it to a name you like.
 
Title: Runtime Error 5: Invalid procedure call or argument
Post by: (Unregistered Guest) on December 16, 2004, 09:50:42 AM
Thanks admin for all your help. My problem is resolved. But none of your suggestions worked for me. It was just that some of my registries got corrupted and i had to re-install them.