tags:

views:

238

answers:

4

I'm arguing with one guy about linq in visual basic.He shows linq expressions in vb,but I can't be sure if it's managed or unmanaged(vb6),because I've never used any of them.

Does VB6 have linq expressions?

+12  A: 

Visual Basic 6 does not have LINQ extensions.

AngryHacker
+1, correct. Although one of Microsoft's sample videos on NET/COM Interop has a VB6 exe calling a .NET component that uses LINQ. But the answer to the original question is still "NO". http://channel9.msdn.com/posts/funkyonex/Tips-and-Tricks-with-the-Interop-Forms-Toolkit/
MarkJ
+2  A: 

Linq is fairly new (Released 2007). Its not supported by VB6 which was released about 1998

John Nolan
+4  A: 

VB6 is not related to VB.NET. It's a different language and platform. The two are related in the sense that C and C++ are related.

In particular, VB6 is not an unmanaged form of VB.NET.

LINQ is part of the .NET Framework. VB6 was released in 1998. .NET was released in 2002.

The VB6 IDE is unsupported.

John Saunders
+1  A: 

With version 7 Visual Basic took the step into .NET with managed code and real object orientation, leaving the old unmanaged platform behind. (Well, it was never called unmanaged, as there was no managed code...) Version 9 was released a while a go including LINQ support.

So, no VB 6 doesn't support LINQ.

Guffa