|
-
Sep 8th, 2011, 08:55 AM
#1
Thread Starter
Lively Member
-
Sep 8th, 2011, 09:10 AM
#2
Re: Moving from VB6 to VB.NET 2010 - Need advice
You shouldn't have used and the ADODC control even in VB6. In .NET forget about connection controls and go with ADO.NET
VB6 was very liberal with how you would allowed to declare variables. As you found out, VB.NET is a bit more strict, which is a good thing.
This article might help specifically with Copy Memory: http://www.codeproject.com/KB/vb/CopyMemory_in_Net.aspx
-
Sep 8th, 2011, 09:22 AM
#3
Thread Starter
Lively Member
Re: Moving from VB6 to VB.NET 2010 - Need advice
Hi Hack,
Thanks for that quick reply! I checked the link ("upgrading vb6 code to VB.NET) in your signature and that will help a lot 
I've checked the CopyMemory link. Thanks. I have other declarations like this which include the "Any". Hope i'll be able to find all their VB.net equivalent.
Thanks,
Krishley
-
Sep 8th, 2011, 09:48 AM
#4
New Member
Re: Moving from VB6 to VB.NET 2010 - Need advice
I had (still have) lots of VB6 tools for work.
When I upgraded to 2010 I rewrote them; gave me the opportunity to rethink lots of bits, to drop lots of obsolete code, change the way some things were done. I did get a fair amount of change resistance from my users
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|