Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
Author

Collection object in ASP
Hi,

How is it possible to instantiate an new collection in asp serverside??

Thanks,
Ivan



Report this thread to moderator Post Follow-up to this message
Old Post
Ivan Debono
10-29-04 01:55 PM


Re: Collection object in ASP
Ivan Debono wrote:
>
> How is it possible to instantiate an new collection in asp
> serverside??

That's a bit nonspecific for a short answer. What exactly are you trying to
accomplish?



--
Dave Anderson

Unsolicited commercial email will be read at a cost of $500 per message. Use
of this email address implies consent to these terms. Please do not contact
me directly or ask me to contact you directly for assistance. If your
question is worth asking, it's worth posting.



Report this thread to moderator Post Follow-up to this message
Old Post
Dave Anderson
10-29-04 08:55 PM


Re: Collection object in ASP
Also tell us what language you're using too please, vbscript or jscript?

Ray at work

"Dave Anderson" <GTSPXOESSGOQ@spammotel.com> wrote in message
news:O2mRu8bvEHA.2012@TK2MSFTNGP15.phx.gbl...
> Ivan Debono wrote: 
>
> That's a bit nonspecific for a short answer. What exactly are you trying
> to
> accomplish?
>
>
>
> --
> Dave Anderson
>
> Unsolicited commercial email will be read at a cost of $500 per message.
> Use
> of this email address implies consent to these terms. Please do not
> contact
> me directly or ask me to contact you directly for assistance. If your
> question is worth asking, it's worth posting.
>
>



Report this thread to moderator Post Follow-up to this message
Old Post
Ray Costanzo [MVP]
10-29-04 08:55 PM


Re: Collection object in ASP
Ray Costanzo [MVP] wrote:
> Also tell us what language you're using too please, vbscript or
> jscript?

You're taking away my fun now, Ray.



--
Dave Anderson

Unsolicited commercial email will be read at a cost of $500 per message. Use
of this email address implies consent to these terms. Please do not contact
me directly or ask me to contact you directly for assistance. If your
question is worth asking, it's worth posting.



Report this thread to moderator Post Follow-up to this message
Old Post
Dave Anderson
10-29-04 08:55 PM


Re: Collection object in ASP
Sorry about that.  :]

Ray at work

"Dave Anderson" <GTSPXOESSGOQ@spammotel.com> wrote in message
news:u67saScvEHA.3612@TK2MSFTNGP09.phx.gbl...
> Ray Costanzo [MVP] wrote: 
>
> You're taking away my fun now, Ray.
>
>
>
> --
> Dave Anderson
>
> Unsolicited commercial email will be read at a cost of $500 per message.
> Use
> of this email address implies consent to these terms. Please do not
> contact
> me directly or ask me to contact you directly for assistance. If your
> question is worth asking, it's worth posting.
>
>



Report this thread to moderator Post Follow-up to this message
Old Post
Ray Costanzo [MVP]
10-29-04 08:55 PM


Re: Collection object in ASP
Sorry about the hassle. I'm using vbscript, and I want to use the Collection
object found in VB.

I was searching a little and found 2 options:

1. Scripting.Dictionary
2. Session.Contents

Which one would you guys suggest??

Thanks,
Ivan



"Ray Costanzo [MVP]" <my first name at lane 34 dot commercial> schrieb im
Newsbeitrag news:utVrSQcvEHA.3080@TK2MSFTNGP12.phx.gbl...
> Also tell us what language you're using too please, vbscript or jscript?
>
> Ray at work
>
> "Dave Anderson" <GTSPXOESSGOQ@spammotel.com> wrote in message
> news:O2mRu8bvEHA.2012@TK2MSFTNGP15.phx.gbl... 
>
>



Report this thread to moderator Post Follow-up to this message
Old Post
Ivan Debono
10-29-04 08:55 PM


Re: Collection object in ASP
Dictionary object is the most suitable replacement for a collection object,
which you probably read is not supported in vbscript.  Sometimes an array is
more appropriate though, depending on the functionality that you need.

Ray at work

"Ivan Debono" <ivanmdeb@hotmail.com> wrote in message
news:OIS7$0cvEHA.720@TK2MSFTNGP10.phx.gbl...
> Sorry about the hassle. I'm using vbscript, and I want to use the
> Collection object found in VB.
>
> I was searching a little and found 2 options:
>
> 1. Scripting.Dictionary
> 2. Session.Contents
>
> Which one would you guys suggest??
>
> Thanks,
> Ivan
>
>
>
> "Ray Costanzo [MVP]" <my first name at lane 34 dot commercial> schrieb im
> Newsbeitrag news:utVrSQcvEHA.3080@TK2MSFTNGP12.phx.gbl... 
>
>



Report this thread to moderator Post Follow-up to this message
Old Post
Ray Costanzo [MVP]
10-29-04 08:55 PM


Re: Collection object in ASP
"Ray Costanzo [MVP]" <my first name at lane 34 dot commercial> wrote in
message news:%235WTj%23cvEHA.2116@TK2MSFTNGP14.phx.gbl...
: Dictionary object is the most suitable replacement for a collection
object,
: which you probably read is not supported in vbscript.  Sometimes an array
is
: more appropriate though, depending on the functionality that you need.
:
: Ray at work

I thought a dictionary object was similar to a PERL associative array and it
is supported in vbscript.  Did I misread your response?
--
Roland Hall
/* This information is distributed in the hope that it will be useful, but
without any warranty; without even the implied warranty of merchantability
or fitness for a particular purpose. */
Technet Script Center - http://www.microsoft.com/technet/scriptcenter/
WSH 5.6 Documentation - http://msdn.microsoft.com/downloads/list/webdev.asp
MSDN Library - http://msdn.microsoft.com/library/default.asp




Report this thread to moderator Post Follow-up to this message
Old Post
Roland Hall
10-31-04 08:55 PM


Re: Collection object in ASP
Maybe I didn't word it real well.  What I meant is, yes, a
Scripting.Dictionary is supported, but not a "set x = New Collection" as in
VB.

Ray at home

"Roland Hall" <nobody@nowhere> wrote in message
news:OKQM153vEHA.3320@TK2MSFTNGP14.phx.gbl...
> "Ray Costanzo [MVP]" <my first name at lane 34 dot commercial> wrote in
> message news:%235WTj%23cvEHA.2116@TK2MSFTNGP14.phx.gbl...
> : Dictionary object is the most suitable replacement for a collection
> object,
> : which you probably read is not supported in vbscript.  Sometimes an
> array
> is
> : more appropriate though, depending on the functionality that you need.
> :
> : Ray at work
>
> I thought a dictionary object was similar to a PERL associative array and
> it
> is supported in vbscript.  Did I misread your response?
> --
> Roland Hall
> /* This information is distributed in the hope that it will be useful, but
> without any warranty; without even the implied warranty of merchantability
> or fitness for a particular purpose. */
> technet Script Center - http://www.microsoft.com/technet/scriptcenter/
> WSH 5.6 Documentation -
> http://msdn.microsoft.com/downloads/list/webdev.asp
> MSDN Library - http://msdn.microsoft.com/library/default.asp
>
>
>



Report this thread to moderator Post Follow-up to this message
Old Post
Ray Costanzo [MVP]
11-01-04 01:55 AM


Sponsored Links




Last Thread Next Thread Next
Search this forum -> 
Post New Thread

ASP archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 05:17 AM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.