![]() |
|
|||||||
| Register | Search | Today's Posts | Mark Forums Read |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|
#1 (permalink) |
|
Registered Member
Join Date: Oct 2004
Posts: 2
|
When my script attempts to reference an object of type Scripting.Dictionary a runtime error such as this is reported: "Object required: 'New_SSIDs' Line:290 Char:2 SCode:800A01A8". Any ideas?
Thanks ![]() |
|
|
|
|
|
#2 (permalink) |
|
Did you do the math?
Join Date: Apr 2002
Location: Villa Straylight
Posts: 10,096
|
Which script is it?
What is it that the script is supposed to do? Do you have other needed components installed and running correctly? (e.g. MapPoint if it's a MapPoint mapping script.) What is the actual code on Line 290?
__________________
Thorn "I'm The Doctor. I'm a Time Lord. I am from the planet Gallifrey in the constellation Kasterborous. I'm 903 years old and I am the man who is going to save your lives and all 6 billion people on the planet below... You got a problem with that?" |
|
|
|
|
|
#3 (permalink) |
|
Registered Member
Join Date: Oct 2004
Posts: 2
|
The puppy Marius Milner wrote... ns04mappoint.txt
I've just had to erase a rather decent description of the "problem." I just set UseSpeech = True, and the error no longer occurs. (I'm using MapPoint 2004 on W2K. Speech works, incessent bleeping works, little red car follows me around town...) If I set UseSpeech = False, the Object required error returns on line 290. Sub OnScanComlete(...) ... 287 If UseSpeech And (New_SSIDs.Count > 0) Then 288 Dim n, a 289 n = New_SSIDs.Count 290 a = New_SSIDs.Keys 291 For i = 0 to n-1 292 TTS.Speak a(i), SVSFlagsAsync 293 Next ... Near the top of the script, New_SSIDs is set to the Scripting.Dictionary object only if UseSpeech = True. If alter that to initialize New_SSIDs always, the error ceases irrepective of the state of UseSpeech. Somehow, the above code is being executed when UseSpeech= False and thus New_SSIDs hasn't been initialized. I don't see it... Jon |
|
|
|