NetStumbler.org Forums

Go Back   NetStumbler.org Forums > NetStumbler Community > Scripts
Register Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old 10-27-2004   #1 (permalink)
JonStumbler
Registered Member
 
Join Date: Oct 2004
Posts: 2
Unhappy Object Required Script Error

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
JonStumbler is offline   Reply With Quote
Old 10-27-2004   #2 (permalink)
Thorn
Did you do the math?
 
Thorn's Avatar
 
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?"
Thorn is offline   Reply With Quote
Old 10-27-2004   #3 (permalink)
JonStumbler
Registered Member
 
Join Date: Oct 2004
Posts: 2
Lightbulb

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
JonStumbler is offline   Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



Google
 
Web NetStumbler.org

All times are GMT -7. The time now is 02:52 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0 ©2007, Crawlability, Inc.


All messages express the views of the author and are for entertainment purposes only. Netstumbler.org cannot be held responsible for the authenticity of the content or the actions of its members. By using this site and its services, you warrant that you will not post any messages that are discriminating, obscene, hateful, threatening, or otherwise violates any laws and you release Netstumbler.org from any future claims of any kind whatsoever including, but not limited to, addiction and loss of productivity. All forum messages, private messages and any other content are properties of Netstumbler.org. Even if publicly available, personal or copyrighted information are not to be posted without the consent of the owner. Distribution of licensed and copyrighted materials in any way not endorsed by the copyright owner is strictly prohibited. You may not use this site and its resources to spam other sites or individuals or perform any action that violates any law. Items sold or bought in the For Sale forum are sold as is and no warranty or insurance of any kind is provided. Netstumbler.org cannot be held responsible for the outcome of any transactions and no warranty of any kind is provided, either express or implied. Vulgar words are not allowed in the subject lines ; they may be used in the message body in any forum. The Administrator, Super Moderators and Moderators of Netstumbler.org have the right to remove, edit, move or close any thread for any reason and to reveal your identity and other known information in the event of a complaint or legal action arising from any message posted by you.