.NET DLL HELL

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • MC

    .NET DLL HELL

    Hi all

    I have created a .NET DLL in VB.NET. My first and very proud.

    Now i understand the new principles of CLR and .NET Framework.

    I want to be able to call this DLL from my existing ASP pages not ASPX. They
    are spread over many websites so I need to have this DLL is one common
    place.

    Now obviously, I can't register the DLL using regsvr32, so the principle of
    Server.CreateOb ject is out I think.

    Does anyone know of how I can use this DLL in my webpages without converting
    them all to ASPX.

    Regards and thanks in advance, and I apologise now for reposting in various
    places before anyone tells me off


  • shiv_koirala@yahoo.com

    #2
    Re: .NET DLL HELL

    ASP works with COM.COM can work with .NET DLL using RCW and CCW.I think
    you have to think in that angle...

    Regards
    Shiv
    C#, VB.NET , SQL SERVER , UML , DESIGN Patterns Interview question book
    Latest news coverage, email, free stock quotes, live scores and video are just the beginning. Discover more every day at Yahoo!


    Comment

    • James

      #3
      Re: .NET DLL HELL

      1. Right click on your DLL project
      2. Configuration properties --> Build
      3. Check "Register for Com interop"
      4. Apply > Ok

      Hope this helps.

      Happy programming
      -James A Taber
      Velkommen til Snappys Bragernes, vi serverer god mat med beliggenhet i Drammen sentrum. Velkommen.



      "MC" <newsgroup@mcco ms.com> wrote in message
      news:uK1$xLYvFH A.2064@TK2MSFTN GP09.phx.gbl...[color=blue]
      > Hi all
      >
      > I have created a .NET DLL in VB.NET. My first and very proud.
      >
      > Now i understand the new principles of CLR and .NET Framework.
      >
      > I want to be able to call this DLL from my existing ASP pages not ASPX.
      > They are spread over many websites so I need to have this DLL is one
      > common place.
      >
      > Now obviously, I can't register the DLL using regsvr32, so the principle
      > of Server.CreateOb ject is out I think.
      >
      > Does anyone know of how I can use this DLL in my webpages without
      > converting them all to ASPX.
      >
      > Regards and thanks in advance, and I apologise now for reposting in
      > various places before anyone tells me off
      >[/color]


      Comment

      • Ken Tucker [MVP]

        #4
        Re: .NET DLL HELL

        Hi,

        In addition to the other comments you need to use regasm.exe to
        register a dot net dll



        Ken
        ------------------
        "MC" <newsgroup@mcco ms.com> wrote in message
        news:uK1$xLYvFH A.2064@TK2MSFTN GP09.phx.gbl...[color=blue]
        > Hi all
        >
        > I have created a .NET DLL in VB.NET. My first and very proud.
        >
        > Now i understand the new principles of CLR and .NET Framework.
        >
        > I want to be able to call this DLL from my existing ASP pages not ASPX.
        > They are spread over many websites so I need to have this DLL is one
        > common place.
        >
        > Now obviously, I can't register the DLL using regsvr32, so the principle
        > of Server.CreateOb ject is out I think.
        >
        > Does anyone know of how I can use this DLL in my webpages without
        > converting them all to ASPX.
        >
        > Regards and thanks in advance, and I apologise now for reposting in
        > various places before anyone tells me off
        >[/color]


        Comment

        Working...