it doesn't even work!
When I try to save my changes, it blows up with a dialog saying that
"Control array element 20" doesn't exist.
Has anybody had any luck with this thing? Is there a more recent version?
When I try to save my changes, it blows up with a dialog saying that
"Control array element 20" doesn't exist.
Has anybody had any luck with this thing? Is there a more recent version?
> When I try to save my changes, it blows up with a dialog saying that
>"Control array element 20" doesn't exist.
>Has anybody had any luck with this thing? Is there a more recent version?
If you do this or you've done this already and it still doesn't work, then
I'm not sure what problem you're having.
Later,
Alanb
I'm a Visual Basic developer and AI Tweaker is written in VB. The error
message stems from a bug in the code where the author is trying to "walk"
through a series of control objects on the screen (in this case, probably
the horizontal scroll bars which control AI speed) and has mistakenly
specified an "index" for a control array element that doesn't exist. That's
a fatal error in VB. In my case, my version of AI Tweaker is specifying an
index of 20 for the control array, when the maximum index for the array is
probably 19.
FYI, had the VB Runtime Library (VBRUN300.DLL) or AI Tweaker not been
properly located, the program would not have loaded, in the prior case, or
would not have found GPL's settings, in the latter case. Also, BTW,
VBRUN300.DLL should, by convention, most appropriately reside in the
Windows\System folder. System DLLs such as that are shared by many different
applications, and most install to the System folder. Odds are good that you
already have a VBRUN300.DLL there now. If so, delete the copy that's in the
Windows folder and save yourself a little disk space. Even if you don't
currently have a copy in the System folder, I would move the copy in Windows
there now, because it's likely that some future application will install a
copy in the System folder later and you'll have an unnecessary copy wasting
disk space.
Anyway, glad yours is working though. What version do you have?
>I'm a Visual Basic developer and AI Tweaker is written in VB. The error
>message stems from a bug in the code where the author is trying to "walk"
>through a series of control objects on the screen (in this case, probably
>the horizontal scroll bars which control AI speed) and has mistakenly
>specified an "index" for a control array element that doesn't exist. That's
>a fatal error in VB. In my case, my version of AI Tweaker is specifying an
>index of 20 for the control array, when the maximum index for the array is
>probably 19.
>FYI, had the VB Runtime Library (VBRUN300.DLL) or AI Tweaker not been
>properly located, the program would not have loaded, in the prior case, or
>would not have found GPL's settings, in the latter case. Also, BTW,
>VBRUN300.DLL should, by convention, most appropriately reside in the
>Windows\System folder. System DLLs such as that are shared by many
different
>applications, and most install to the System folder. Odds are good that you
>already have a VBRUN300.DLL there now. If so, delete the copy that's in the
>Windows folder and save yourself a little disk space. Even if you don't
>currently have a copy in the System folder, I would move the copy in
Windows
>there now, because it's likely that some future application will install a
>copy in the System folder later and you'll have an unnecessary copy wasting
>disk space.
>Anyway, glad yours is working though. What version do you have?
As far as putting the vbrun file in my "system" folder, I tried that and the
tweaker did not work.
So what we have here is a guy who knows nothing about runtime this or
runtime that-- whose teaker works. Then we have a guy who knows all about
such things and more-- whose tweaker doesn't work. :)
Take care and thanks for the explanation, even though I don't speak Bantu.
Later,
Alanb
As far as VBRUN300.DLL (16 bit VB3) goes, you aren't likely to load any
commercial software that still uses it, so it can probably just go in
the GPL directory (since it doesn't need to be registered) where it will
be easy to expunge once the AI is "tweakable" within the game
(hopefully). Also (I'm pretty sure) if you already have VBRUN4xx & 5xx
in your Windows/System directory, VBRUN300.DLL is not required at all.
Randy
> Alan...
> I'm a Visual Basic developer and AI Tweaker is written in VB. The error
> message stems from a bug in the code where the author is trying to "walk"
> through a series of control objects on the screen (in this case, probably
> the horizontal scroll bars which control AI speed) and has mistakenly
> specified an "index" for a control array element that doesn't exist. That's
> a fatal error in VB. In my case, my version of AI Tweaker is specifying an
> index of 20 for the control array, when the maximum index for the array is
> probably 19.
> FYI, had the VB Runtime Library (VBRUN300.DLL) or AI Tweaker not been
> properly located, the program would not have loaded, in the prior case, or
> would not have found GPL's settings, in the latter case. Also, BTW,
> VBRUN300.DLL should, by convention, most appropriately reside in the
> Windows\System folder. System DLLs such as that are shared by many different
> applications, and most install to the System folder. Odds are good that you
> already have a VBRUN300.DLL there now. If so, delete the copy that's in the
> Windows folder and save yourself a little disk space. Even if you don't
> currently have a copy in the System folder, I would move the copy in Windows
> there now, because it's likely that some future application will install a
> copy in the System folder later and you'll have an unnecessary copy wasting
> disk space.
> Anyway, glad yours is working though. What version do you have?
Yeah, I realized after I posted that I had added some sections to my
driver.ini file and that AI Tweaker was probably mistakenly counting the
number of sections in driver.ini and correlating that to the number of
controls in its control array.
For VB3 apps, VBRUN300.DLL is required. It's not replaced by the newer
runtimes. Moving the DLL to the GPL folder is NOT a good idea...any existing
VB3 apps will fail.
Yeah, I guess I got a little off-topic. ;-) I mistakenly surmised, from your
post, that you had some technical background and hence might be interested.
Silly me.
I'm curious that moving VBRUN300.DLL from c:\windows\ to c:\windows\system\
caused AI Tweaker to fail. Windows searches c:\windows\system\ for required
system files. Are you sure that you moved VBRUN300.DLL to
c:\windows\system\?...Should work. Works for me.
Randy Wilson, in his post on this thread, suggested that you could move the
DLL to your GPL folder. Doing so would disable any other VB3 applications
that you may have, so I wouldn't encourage you to do so.