1. We have moved from vBulletin to XenForo and you are viewing the site in the middle of the move. Though the functional aspect of everything is working fine, we are still working on other changes including the new design on Xenforo.
    Dismiss Notice

Using two Classes

Discussion in 'ASP' started by ASP-Novice, Dec 10, 2007.

  1. ASP-Novice

    ASP-Novice New Member

    Joined:
    Dec 8, 2007
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    0
    When I write the code
    Code:

    Code:
    Set a = new C1
       Block of code
    Set a = Nothing
    
    Set b= new C2
       Block of code
    Set b = Nothing


    The Class C2 doesn't work. Any idea Why????

    CB
     
  2. shabbir

    shabbir Administrator Staff Member

    Joined:
    Jul 12, 2004
    Messages:
    15,276
    Likes Received:
    364
    Trophy Points:
    83
    There can be numerous reasons for this but I will try to tell some

    1. You don't have the class
    2. You have the class but its not imported correctly.
    3. You have missed the reference.
    4. You have the using statement not correctly written.
     

Share This Page