VB 6.0 ActiveX and VB.Net

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

    #1

    VB 6.0 ActiveX and VB.Net

    Hi all,

    I am trying to put a Vb6.0 activeX control into a VB.net project. The Vb6.0
    activeX control works fine in a VB6.0 app.

    But the problem comes when I close down the Vb.net app. I get
    the"Applicatio n error... memory cannot be written/read". On the other hand,
    I will not get this error if I only start up the vb.net app and close it
    without doing anything with the activeX control. The vb.net app has only one
    form, and the activeX control is at the start up from. I already remove all
    codes that are in the ActiveX event (Initialize, Resize, Terminate etc ..)

    Is there a way to find out what causes the problem?

    Thank you very much,

    Egghead


  • Norm Cook

    #2
    Re: VB 6.0 ActiveX and VB.Net

    Most of the posters & responders in this group are classic VB programmers
    and
    (in my case) don't know diddly about VB.Net.

    However, it is likely that there are a lot of former classic VB programmers
    in the dotnet groups, who might be able to help.

    "Egghead" <robertlo@shaw. ca> wrote in message
    news:wp8_d.7059 33$8l.555015@pd 7tw1no...[color=blue]
    > Hi all,
    >
    > I am trying to put a Vb6.0 activeX control into a VB.net project. The[/color]
    Vb6.0[color=blue]
    > activeX control works fine in a VB6.0 app.
    >
    > But the problem comes when I close down the Vb.net app. I get
    > the"Applicatio n error... memory cannot be written/read". On the other[/color]
    hand,[color=blue]
    > I will not get this error if I only start up the vb.net app and close it
    > without doing anything with the activeX control. The vb.net app has only[/color]
    one[color=blue]
    > form, and the activeX control is at the start up from. I already remove[/color]
    all[color=blue]
    > codes that are in the ActiveX event (Initialize, Resize, Terminate etc ..)
    >
    > Is there a way to find out what causes the problem?
    >
    > Thank you very much,
    >
    > Egghead
    >
    >[/color]


    Comment

    Working...