Runtime Error 91

A place for discussion about VAC, get answers and chat with the author. This is a good place for ideas and problem solving. So come on in and make your posts now.

Moderator: Shift_E

Runtime Error 91

Postby ARTFULDodgerOSU on Mon Aug 13, 2007 6:22 pm

I installed vac on my system which has vista ultimate 64. Whenever I try to run the vac builder I get and error that says 'Runtime error 91, Object variable not set or with block variable not set'. Is there any way to fix this?
ARTFULDodgerOSU
 

Postby Shift_E on Tue Aug 14, 2007 7:43 pm

Hi ARTFULDodgerOSU,

It's an install issue, probably one of these files didn't get installed or registered in \Windows\System32:

RICHTX32.OCX
MCI3.,OCX
MSCOMCT2.OCX
MSINET.OCX
Mscomctl.ocx
GbDirBrowser.ocx
Dwspeak.dll
Dwutilities.dll

The install may have been stopped by incorrect VAC version, anti-virus, spyware, Windows UAC or any number of reasons. Make sure you have downloaded the correct version of VAC for the Windows OS you are using and try to re-install.
Shift_E

Quick Mission Tuner
http://qmt.webhop.net
Voice Activated Command
http://www.dwvac.com
Shift_E
Utilities Developer
 
Posts: 505
Joined: Sun Dec 12, 2004 5:49 pm

Postby Amfohr on Wed Oct 03, 2007 10:29 pm

I have the same OS and indeed the MSCOMCT2.OCX is missing.

Microsoft also stated that this file was not included during Vista install.

Efforts to download and register it have not been succesfull yet.

Anybody solved this?

Cheers.
Amfohr
Air Cadet Level 2
 
Posts: 6
Joined: Wed Oct 03, 2007 10:26 pm

Postby Shift_E on Thu Oct 04, 2007 1:18 am

Hi Amfohr,

I've included all the files I listed in the install for VAC.

This may or may not help, right-click the installation icon for the program, and then click Run as administrator.
Shift_E

Quick Mission Tuner
http://qmt.webhop.net
Voice Activated Command
http://www.dwvac.com
Shift_E
Utilities Developer
 
Posts: 505
Joined: Sun Dec 12, 2004 5:49 pm

Postby Amfohr on Thu Oct 04, 2007 1:39 am

I noticed the file has been copied to the SysWOW64 directory but apparently didn't register.

Could it be not compatible with a 64-bits OS or could it be caused by the present files MSCOMCT3N.OCX and MSCOMCTL32.OCX?
Amfohr
Air Cadet Level 2
 
Posts: 6
Joined: Wed Oct 03, 2007 10:26 pm

Postby Shift_E on Thu Oct 04, 2007 12:14 pm

Hi Amfohr,

No, it's compatible with Vista 64. SysWOW64 is the system root directory for Vista 64, so that is also the correct location for the files.

Did you register the file? Does VAC work now?
Shift_E

Quick Mission Tuner
http://qmt.webhop.net
Voice Activated Command
http://www.dwvac.com
Shift_E
Utilities Developer
 
Posts: 505
Joined: Sun Dec 12, 2004 5:49 pm

Postby Amfohr on Thu Oct 04, 2007 1:56 pm

The problem is caused by the language versioin I use in Vista. Speech recognition is only supported in English. After installation of the English Language pack the Speech recoginition is up and the VAC program runs. Next problem is it says my 30 day evaluation period is over when in fact I havent tested it for a day but I dont mind purchasing it so I guess it will work out now.

Cheers.
Amfohr
Air Cadet Level 2
 
Posts: 6
Joined: Wed Oct 03, 2007 10:26 pm

Postby Amfohr on Fri Oct 05, 2007 12:52 am

I bought the program and need a profile for BF2. I found the navigation stuff for the COMMOROSE Q so I can call the messages.

For me the COMMOROSE is not Q but G and therefor I made the following code:

version="1.0"?><profile>
<!--Battlefield 2 command Set-->
<command name="COMMOROSE Q - I'm Sorry" phrase="Sorry" successphrase="" sndok="">
<key value="g" extended="NONE" pause="100" repeat="1" duration="200" toggle="-1"/>
<key extended="NumPad 6" pause="100" repeat="1" duration="200"/>
<key extended="NumPad 5" pause="100" repeat="1" duration="200"/>
<key value="g" extended="NONE" pause="100" repeat="1" duration="200" toggle="-1"/>
</command>

<!--Voice Activation Command Set-->
<set key="NONE" key1="NONE" vackey1="NONE" vackey2="NONE" ptamode="default" vacoffsnd="C:\Program Files (x86)\VAC System\Sounds\offline.wav" vaconsnd="C:\Program Files (x86)\VAC System\Sounds\working.wav" off="NONE" off1="NONE" off2="NONE" off3="NONE">

</set>
</profile>

I thought the toggle had to be used to press and release the 'G'-key but it doesnt work. Executed in Notepad its shows just '65'. What am I doing wrong?

Cheers.
Amfohr
Air Cadet Level 2
 
Posts: 6
Joined: Wed Oct 03, 2007 10:26 pm

Postby Shift_E on Fri Oct 05, 2007 12:06 pm

Hi Amfohr,

Only use toggle once on the 'G' key, then press 'G' again to release.

<key value="g" extended="NONE" pause="100" repeat="1" duration="200" toggle="-1"/>
<key extended="NumPad 6" pause="100" repeat="1" duration="200"/>
<key extended="NumPad 5" pause="100" repeat="1" duration="200"/>
<key value="g" extended="NONE" pause="100" repeat="1" duration="200"/>

Another way to work with the 'G' key is use duration which is the length of time the key is depressed. 1000=1 second, so if you wanted the key depressed for 3 and a half seconds, set the duration to 3500.
Shift_E

Quick Mission Tuner
http://qmt.webhop.net
Voice Activated Command
http://www.dwvac.com
Shift_E
Utilities Developer
 
Posts: 505
Joined: Sun Dec 12, 2004 5:49 pm

Postby Amfohr on Fri Oct 05, 2007 2:15 pm

Well the 'G'-key does not seem to respond to the toggle. Without toggle it does respond but then it waits till release and numpad 6 and numpad 5 are executed afterwards.

Another option is I operate the 'G'-key myself and then make the call but that would of course be semi-voice activated. This does work btw.

Any other suggestions?

Cheers.
Amfohr
Air Cadet Level 2
 
Posts: 6
Joined: Wed Oct 03, 2007 10:26 pm

Postby Amfohr on Sat Oct 06, 2007 3:42 am

Well I actually found the answer in another Voice activation program I have and that program stated clearly that 'normal' keys, in this case of the type value, are not suitable to toggle. That program only used the special keys. So the answer is, assign the commorose to a secondary special key like Numpad Enter. Use this key of the extended type to toggle and it works :wink:

Furthermore the timing is important to get proper operation.
Amfohr
Air Cadet Level 2
 
Posts: 6
Joined: Wed Oct 03, 2007 10:26 pm


Return to Voice Activated Command (VAC)

Who is online

Users browsing this forum: No registered users and 2 guests

cron