Assembly included inside another assembly ???

Discussion in 'ASP .Net' started by \A_Michigan_User\, Apr 18, 2006.

  1. I have a file called Main.aspx that includes these 2 support files:
    <%@ Assembly Src="Constants.vb" %>
    <%@ Assembly Src="Email.vb" %>
    I can then use both my email.vb functions (and my constants) in Main.aspx.
    (That WORKS!!!!)

    But how would I *ALSO* use my constants.vb values... inside my email.vb
    code????


    Thanks
     
    \A_Michigan_User\, Apr 18, 2006
    #1
    1. Advertising

  2. \A_Michigan_User\

    Spam Catcher Guest

    "\"A_Michigan_User\"" <> wrote in
    news::

    > I have a file called Main.aspx that includes these 2 support files:
    > <%@ Assembly Src="Constants.vb" %>
    > <%@ Assembly Src="Email.vb" %>
    > I can then use both my email.vb functions (and my constants) in
    > Main.aspx. (That WORKS!!!!)
    >
    > But how would I *ALSO* use my constants.vb values... inside my
    > email.vb



    Why are you doing it this way? This is the classic ASP way of thinking.

    ASP.NET is an OO langauge - so create set of public classes which are
    callable from the rest of your application.

    If you need to share the code between different apps - create a DLL.
     
    Spam Catcher, Apr 18, 2006
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. al
    Replies:
    3
    Views:
    1,777
  2. nail
    Replies:
    0
    Views:
    1,568
  3. Replies:
    3
    Views:
    1,842
  4. Eshrath Khan
    Replies:
    0
    Views:
    392
    Eshrath Khan
    Dec 23, 2004
  5. Bob Rock
    Replies:
    2
    Views:
    191
    Michel Gallant
    May 16, 2004
Loading...

Share This Page