Home All Groups Group Topic Archive Search About

Upgraded VB6 program to 2003, spits it in 2005

Author
19 Apr 2006 12:49 AM
Dave Harry
I've had trouble with VB 2003 not doing things quite right, help won't
compile, etc, things are being a general pain the the bum.

I've downloaded the VB Express 2005 and trying my code there before buying
VB 2005 standard.
Should the forms' code, that was upgraded from VB6 to 2003, still work
properly in 2005?

The program function was expanded so much after upgrading to 2003 that it
would be rather a nightmare to do it again from 6 -> 2005.

One thing that keeps giving me trouble is part of the forms converted like
this:
It gets stuck on the MyBase.Dispose(Disposing) command and I can't work out
why.

    Protected Overloads Overrides Sub Dispose(ByVal Disposing As Boolean)
        If Disposing Then
            If Not components Is Nothing Then
                components.Dispose()
            End If
        End If
        MyBase.Dispose(Disposing)
    End Sub


Any other clues about 6 -> 2003 -> 2005 that I should be aware of?

--
Dave Harry

Author
19 Apr 2006 5:26 AM
Cor Ligthert [MVP]
Dave,

If you use in version 2005 the same controls and other classes as in version
2003 all should work, with one exception. There have been some bug fixes.
And in my idea are some none documented bugs. While there can be of course
bugs as in every program.

What is the message you get at that Dispose. You are not the only one who
have converted this part.


Cor

Show quoteHide quote
"Dave Harry" <DaveHa***@please.keep.replies.in.the.newsgroup> schreef in
bericht news:uSQ8ls0YGHA.444@TK2MSFTNGP05.phx.gbl...
> I've had trouble with VB 2003 not doing things quite right, help won't
> compile, etc, things are being a general pain the the bum.
>
> I've downloaded the VB Express 2005 and trying my code there before buying
> VB 2005 standard.
> Should the forms' code, that was upgraded from VB6 to 2003, still work
> properly in 2005?
>
> The program function was expanded so much after upgrading to 2003 that it
> would be rather a nightmare to do it again from 6 -> 2005.
>
> One thing that keeps giving me trouble is part of the forms converted like
> this:
> It gets stuck on the MyBase.Dispose(Disposing) command and I can't work
> out why.
>
>    Protected Overloads Overrides Sub Dispose(ByVal Disposing As Boolean)
>        If Disposing Then
>            If Not components Is Nothing Then
>                components.Dispose()
>            End If
>        End If
>        MyBase.Dispose(Disposing)
>    End Sub
>
>
> Any other clues about 6 -> 2003 -> 2005 that I should be aware of?
>
> --
> Dave Harry
>