Dan, thanks a lot for explaining this issue and for suggesting the use of a dictionary 
object. I've used a dictionary object to do the implementation, and it works 
flawlessly.

- Cynthia Leslie
  ----- Original Message ----- 
  From: Dan Powderhill 
  To: [EMAIL PROTECTED] 
  Sent: Thursday, September 09, 2004 5:18 AM
  Subject: RE: [AspClassicAnyQuestionIsOk] Can't create Collection in VBScript


  VBScript doesn't let you dim variables as specific types. If you can use a 
dictionary object instead of a collection (depending on what you want to do with it) 
you can use this code :-

  Dim cdodFfBlurbsKeyValCollection
  set cdodFfBlurbsKeyValCollection = Server.CreateObject("Scripting.Dictionary")

  Dan
  www.diado.com

  -----Original Message-----
  From: Cynthia Leslie [mailto:[EMAIL PROTECTED]
  Sent: 09 September 2004 09:48
  To: [EMAIL PROTECTED]
  Subject: [AspClassicAnyQuestionIsOk] Can't create Collection in VBScript


  I have this VBScript code on Line 90 in my ASP page;

  Dim cdodFfBlurbsKeyValCollection As New Collection


  Can anyone tell me why my browser is displaying the following error message?


  a.. Error Type:
  Microsoft VBScript compilation (0x800A0401)
  Expected end of statement
  /dynamic/cgi.bin/OrderManager_2.asp, line 90, column 33



  That line of code works fine in Visual Basic but does not work in VBSript in my ASP 
page.



  Thanks.


  - Cynthia



  [Non-text portions of this message have been removed]


  Yahoo! Groups Sponsor
  ADVERTISEMENT






  Yahoo! Groups Links

  To visit your group on the web, go to:
  http://groups.yahoo.com/group/AspClassicAnyQuestionIsOk/
    
  To unsubscribe from this group, send an email to:
  [EMAIL PROTECTED]
    
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. 

        Yahoo! Groups Sponsor 
              ADVERTISEMENT
             
       
       


------------------------------------------------------------------------------
  Yahoo! Groups Links

    a.. To visit your group on the web, go to:
    http://groups.yahoo.com/group/AspClassicAnyQuestionIsOk/
      
    b.. To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]
      
    c.. Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. 



[Non-text portions of this message have been removed]



------------------------ Yahoo! Groups Sponsor --------------------~--> 
$9.95 domain names from Yahoo!. Register anything.
http://us.click.yahoo.com/J8kdrA/y20IAA/yQLSAA/saFolB/TM
--------------------------------------------------------------------~-> 

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/AspClassicAnyQuestionIsOk/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to