Marc6679_MarcCS

Does anyone know whether the language on the express edition of visual basic is the same as just the regular visual basic (say VB6) and if not is all VB language compatible with the express editions.


Re: Visual Basic Express Edition VB Language

bmains

Hey,

THe VB.NET Express Edition uses VB.NET, which is similar to VB6, with some noticable differences. Here are some articles on the differences:

http://www.vbdotnetheaven.com/UploadFile/mahesh/differenceVBNetVB04252005051004AM/differenceVBNetVB.aspx

http://www.codeguru.com/vb/gen/vb_general/ideincludingvisualstudionet/article.php/c11081





Re: Visual Basic Express Edition VB Language

spotty

Just to continue on from the statement that VB.NET is similar to previous versions of VB. VB Express uses the .NET framework 2.0 which actually contains the VB compiler ( the compiler actually ships with the framework). As all the current express products use the .NET framework 2.0 this means it is 100% the same as the VB in all other Express Products (ie Visual Web Developer) and the 2005 version of the products VB.NET Std/Pro and Visual Studio. This is because they all use the same compiler.

However express targets the 2.0 version of the framework so again there are some small changes from prior versions of VB.NET which targetted earlier versions of the framework. These changes are kept to a minimum.





Re: Visual Basic Express Edition VB Language

Marc6679*

Basically what i want to know is can i use VB script or language in the Express Editions of Visual Basic.




Re: Visual Basic Express Edition VB Language

spotty

VB script is something completely different, its based upon a subset of an older version of vb (VB6) and is very crude and limited in comparison to the current versions of vb.net. The basic language syntax is similar but it is not the same. Conversion of vb script to vb.net code is often fairly easy and .net provides a lot more functionality which often results in being able to write simpler / smaller amounts of code to do the same task.





Re: Visual Basic Express Edition VB Language

bmains

Hey,

vbscript can be used in ASP.NET, which is the Visual Web Developer product. However, there isn't any intellisense support or anything like that, but it does have vbscript files listed as a supported type, I believe... But that's probably not what you are looking for anyway. You should check out and see if there any third-party tools that do vbscripting, if that's solely what you want to do.

Brian





Re: Visual Basic Express Edition VB Language

spotty

VB Express doesnt support web apps and doesnt provide a VBScript Item from list of available files.

If you want to write vbscript then I doubt VB Express is going to give you much more than notepad would.

VB Script if I recall correctly doesnt provide type support (all variables are variants) and variant definately is not a type in VB.NET, although I suppose you may consider Object as a fairly universal type. Its scripting and not compiled code and hasnt been updated in years.

I think if you want to write Managed .NET code, VB Express is the tool. If you want to write VBScript then you should probably look at a 3rd party tool. VB Express is all about writing windows applications and therefore the need and therefore support for VB Script is directly built in, although Vbscript can be invoked using Windows Script Host (WSH) .

Also scripting for windows has taken a big step forward with Monad, or Windows Powershell as they now call it. A much more powerful up to date scripting language for windows.