Results 1 to 3 of 3
  1. #1
    Join Date
    Mar 2004
    Location
    Malaysia
    Posts
    17

    Smile Unanswered: Problem with objects..

    Dim mo_Promotions As UserInterfaceNPM.clsPromotions
    Dim mo_IChildInterface As UserInterfaceNPM.IChildInterface

    Set mo_Promotions = New UserInterfaceNPM.clsPromotions

    Set mo_IChildInterface = mo_Promotions



    when i do like this i am getting an error ...

    "274221517 Type Mismatch"

    i am not understanding this...


    any help would be helpfull.... urgent pls....
    --------------------
    P.L.N.Prasad varma

  2. #2
    Join Date
    Dec 2003
    Posts
    454
    I think that you are using Visual Basic, not ASP. This is an ASP forum.

  3. #3
    Join Date
    Jul 2003
    Location
    SoCal
    Posts
    721
    There's no "AS" in ASP

    Dim mo_Promotions
    Dim mo_iChildInterface

    I don't know what UserInterfaceNPM is, but if it's a COM object, you need to use Server.CreateObject()
    That which does not kill me postpones the inevitable.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •