Hi,
A few years ago I created an application using VB6. It works fine on all OS but considering vb6 is no longer supported and it lacks lots of features, I’ve decided to upgrade to VB.NET. Plus I also want my software to run on all future OS correctly.
I was using the ADODC control on many of my forms. In VB.NET, if I go to Tools > Choose Toolbox Items, I see ADODC under the “.NET framework components” tab. Can I still use this or is it outdated/no longer supported? If I use it, will my software work on 32bits and 64bits systems?
Another thing, in vb6 I had this code:
Private Declare Sub CopyMemory Lib "kernel32" Alias "RtlMoveMemory"(ByRef Destination As Any, ByRef Source As Any, ByVal Length As Integer)
But in VB.NET when I write this I get the error “As Any” is not supported in “Declare” statements. How should I write this in VB.NET?
Thank You,
Krishley







Reply With Quote