Question about MSINET.OCX

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

    #1

    Question about MSINET.OCX

    I use MSINET.OCX in my VB.NET applicatoin. I've registered (by regsvr32) and
    added it into reference for COM interop. The application works at the PC
    with both VB 6 and VS.NET installed. But it fails with error "Class is not
    licensed for use" in the PC with VS.NET installed only.
    Does anyone know whether I have anything missed?
    Thank you very much!


  • John

    #2
    Re: Question about MSINET.OCX

    Hi Lucy

    I have found that msinet.ocx is more trouble than it is worth. See if you
    can use something else like Microsoft.XMLHT TP to accomplish what you are
    trying to do.

    Regards


    "lucy" <lucy@hotmail.c om> wrote in message
    news:OT5G9$uiFH A.2152@TK2MSFTN GP14.phx.gbl...[color=blue]
    >I use MSINET.OCX in my VB.NET applicatoin. I've registered (by regsvr32)
    >and
    > added it into reference for COM interop. The application works at the PC
    > with both VB 6 and VS.NET installed. But it fails with error "Class is not
    > licensed for use" in the PC with VS.NET installed only.
    > Does anyone know whether I have anything missed?
    > Thank you very much!
    >
    >[/color]


    Comment

    • Herfried K. Wagner [MVP]

      #3
      Re: Question about MSINET.OCX

      "lucy" <lucy@hotmail.c om> schrieb:[color=blue]
      >I use MSINET.OCX in my VB.NET applicatoin. I've registered (by regsvr32)
      >and
      > added it into reference for COM interop. The application works at the PC
      > with both VB 6 and VS.NET installed. But it fails with error "Class is not
      > licensed for use" in the PC with VS.NET installed only.[/color]

      PRB: Errors When You Use Visual Basic 6.0 Controls in Visual Basic .NET
      <URL:http://support.microso ft.com/?scid=kb;EN-US;318597>

      --
      M S Herfried K. Wagner
      M V P <URL:http://dotnet.mvps.org/>
      V B <URL:http://classicvb.org/petition/>

      Comment

      • Chad Z. Hower aka Kudzu

        #4
        Re: Question about MSINET.OCX

        "lucy" <lucy@hotmail.c om> wrote in
        news:OT5G9$uiFH A.2152@TK2MSFTN GP14.phx.gbl:[color=blue]
        > I use MSINET.OCX in my VB.NET applicatoin. I've registered (by
        > regsvr32) and added it into reference for COM interop. The application
        > works at the PC with both VB 6 and VS.NET installed. But it fails with[/color]

        Its best to use something else, .NET native and avoid OCX's. What are you trying to accomplish
        exactly?


        --
        Chad Z. Hower (a.k.a. Kudzu) - http://www.hower.org/Kudzu/
        "Programmin g is an art form that fights back"

        Make your ASP.NET applications run faster

        Comment

        Working...