|
-
Jul 11th, 2007, 09:46 PM
#1
Thread Starter
Registered User
[RESOLVED] Microsoft.VisualBasic.Compatibility.VB6
http://msdn2.microsoft.com/en-us/lib...ility.vb6.aspx
I'm confused. This looks like something new since it says "Specific to .NET Framework 3.0" and there are no descriptions, but then I found some really old posts on forums that mentioned this.
I usually get all my answers from MSDN, but it doesn't say anything about this namespace.
1) Are the functions old VB6 functions?
2a) I don't imagine that it'll be recommended to use anything in this namespace. I'd probably get the "That is legacy. Do it .NET and use this" response. So, what is the purpose of this namespace and why now?
2b) Does this have something to do with conversion?
Somebody set me straight.
-
Jul 11th, 2007, 10:39 PM
#2
Re: Microsoft.VisualBasic.Compatibility.VB6
That namespace exists specifically to support upgraded VB6 code. It contains classes that the conversion wizard can use to make converted code work when an implementation in "proper" VB.NET would simply be too complex to determine. Don't ever use that namespace.
-
Jul 11th, 2007, 10:52 PM
#3
Re: Microsoft.VisualBasic.Compatibility.VB6
I just looked it over. It doesn't contain vb6 functions. It contains ways to do stuff in vb.net that you currently can't do easily, and it is band-aid stuff for upgrading from vb-6. about 90% of it is control arrays, and access to the older controls. It also contains a twips converter, so you wouldn't have to do a major code conversion on a program that uses them.
-
Jul 12th, 2007, 01:54 AM
#4
Re: Microsoft.VisualBasic.Compatibility.VB6
You would never want to really use the vb 6 code converter for anything IMO. I believe John is talking about the Microsoft.VisualBasic class as it contains the VB 6 style functions. Either way, they are just completely
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
Jul 12th, 2007, 09:12 AM
#5
Thread Starter
Registered User
Re: Microsoft.VisualBasic.Compatibility.VB6
Great. Thanks for the responses.
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
|