I am trying to store some data in a Dictionary object. I am getting errors though about adding duplicate keys. "key already exists"
I commented out the obj.add and just did a .write of what exactly was being added each time. There never was a time when a key was being added twice ....
I'll admit my ASP skills are very rusty, and come seeking help.
I'm currently using a dictionary object to store a multi-dimensional array.
I want to pass this dictionary object to an object, which holds an array of dictionary objects.
However I'm finding that the array is not getting set, thus I'm having great issue with dynamically resizing the object's property for every new dictionary object I'm adding.
While pouring over some code I've discovered a previous developer heavily uses the "dictionary" object. Whilst I see some of the advantages of using this system It's something I've not used myself so am not sure of the limitations.
We are about to widen the scope of the website it's being used on to a WorldWide system - greatly increasing the number of users that will be using the website.
What I'd like to know is are there any performance issues with using this on a heavily used site?
I have a server running Windows Server 2003, on which two of the web sites use the MegaBBS ASP forum software. Both sites suddenly developed the same error, which seems to be connected to the dictionary object.
I got two ASP pages. One is ASP email form (I'm using Persist ASP Email component). Another one has all file links in it. For example, when user click Outlook course hyperlink. It will pop up another window with outlook course PDF file. (All PDF files are already in the server).
What I am trying to do is: When user click the "Add Email" hyperlink, it will add that course name and filepath into ASP/VBScript Dictioanry Object. After the user finish and click "Attach to email" button. All the files will be attached in the email as an attachment.
Because I am not familar with VBScript. So, can Javascript add items to ASP Dictionary Object?
I have a dictionary object,then I create a new dictionary object and sets it equal to my original,then I pass the new dictionary object to a function that changes some of my values - but then my original dictionary also gets changed and that was not the intention.
can someone explain to me why it behaves that way and how do I avoid it.så I van have different dictionary objects?
Ive created an ASP class that uses a dictionary object which is filled from a recordset. It passes the object to the propterty of another ASP class byref:
Public Property Let dicReplaceVars(byref vdicReplaceVars) set p_ReplaceVars = vdicReplaceVars End Property
Private p_ReplaceVars
where it is used in this other class a few times to replace values in an array: Code:
I am working on a project which used dictionaries. I am having to remake part of this and have no experience with the scripting dictionary. I need to see how to create multiple dictionaries within one dictionary. Can someone point me to some reading materials on this where I might see an example as well?
Just wondering the best way of doing this? are there any dictionary databases laying around somewhere?
I want to change my search so that it corrects typo's and maybe suggests better words to search with... like googles but with more alternative words to make the search more useful - slightly limited so it doesn't become pages and pages of search terms.
What I don't want to do is sit down in front of my computer and type all of this in, going through related words and possible other searches / best searches from the given input.
I proceed much further whether it is possible to pass in the Dictionary object (Scripting.Dictionary) from ASP to a stored procedure in SQL Server. Any sample sites or simple code examples would be really great.
I need an ASP dictionary/glossary script. I saw a bunch of options online for PHP but almost nothing for ASP. I'm not a programmer....but can install working code and connect a database. can anyone recommend a tutorial or even better a finished working piece of code I can implement to create my own dictionary with custom definitions?
I have to develop a spell checker from scratch using asp language. as i'm a newbie with asp, there are still a lot of things that i don't understand. How can I add new words to my list of dictionary sorted alpabetically?
Do i need to use the database for this function? Can anyone show me? or if anyone knows of any websites that i can refer to.
After going back to the start, I eventually realised that the dictionary Item property didn't like 'rsNetStock.fields("PartNo")' as a parameter, so I had to use something like the following:
im trying to create a function that accepts a sql statement as a parameter, makes a db connection, returns a recordset, and inserts all items from the recordset into a data dictionary - then i want to set the value of my function equal to my newly created dictionary of items from the recordset - this is where im having a problem. is it possible to set a function equal to a dictionary? i cant seem to make this work and it seems that this should be possible.
I have a problem with the Scripting.Dictionary in ASP. All my data is entered into my Dictionary with no order and I would like to order them alphabeticaly and I don't know how to do.
I'm having problems with an array of dictionary objects. It is being used to organize an SQL catalog set up with an ID/ParentID scheme. The script uses recursive functions to return the children categories, and works fine except for storing the info in the array of dictionary objects.
The UBound of the array is correct, and the very last index (93) to the array seems to have the correct dictionary object, but all the previous (0-92) come up with "Object Required:" error. By the way, dicRecords is another array of dictionary objects taken from a recordset. Any ideas? Code:
i'm trying to page through the items in the Dictionary, i've got a great example on it, but the way my class and dictionary is set up won't allow me to use the example Code:
I'm using Server.CreateObject(Word.Application) to execute a spell check. Works fine, but we'd like to add a few of our more common company-isms to the dictionary, as they're getting flagged every time.
I tried opening Word on the Server and adding one to the dictionary. I also tried it locally (which didn't make any sense, but still). The word still shows up as an error. Is there a way to customize this dictionary?
Ok, first I had a problem with that error code: 0x80020009, but this article http://support.microsoft.com/defaul...b;EN-US;q175239 fixed that. I'm saying this because it might still have an impact..... I don't know.
I'm using scripting.dictionary for my webshop, so I'm putting the scripting object in a session variable.
So you can order three types of things, and I have one page that lists your shopping cart before checkout.
When I display only one of the three types (ie delete the rest from the file) it's all good. when I try to display them all, stuff just dissapears. If it wasn't for the fact that it works with one type, I would have thought it was something with some of the if syntaxes. Code:
I have been trying to read values from a form into an array on a page without much success and was told to use a Scripting.Dictionary instead.
There are a variable number of fields on the form as it is different according to which product is ordered (as are the fields that are used to create the record.) Code: