|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Upgraded VB6 program to 2003, spits it in 2005compile, 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 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 >
Emailing with default client
Regular Expression Help...Line Break Reference different versions of an ActiveX-dll Writing INI section failing 1.1 and 2.0 .Net framework in same application? Is it possible to compile an image file into a DLL or EXE file? Dynamically reading structure fields Two way collection checking for element in xml document Desktop integrated file browser |
|||||||||||||||||||||||