Which version of Visual Studio Express for JScript .NET? - visual-studio

Which version of the Express edition of Visual Studio can I use to work with Windows Forms programs written in JScript .NET? I did a quick search and I can see versions for Visual Basic, Visual C# and Visual C++ ... but not JScript.
Up until now I've just been editing in Notepad and compiling using jsc.exe, but debugging is starting to become a real pain. I'd like to be able to step through my code and locate the exact location of a bug.
Thanks.

You can write JScript code in any version of Visual Studio you want. For the Express editions, Visual Web Developer Express is a good choice.
The catch is that you cannot compile JScript code in the Visual Studio IDE. You have to perform this step either from the command line or via the ASP.NET page.
See MSDN for more details: Writing, Compiling, and Debugging JScript Code

Related

Visual Studio 2010 express compiler

I would like to know if I can somehow compile c++ code in visual studio express 2010 with a 2019/2022 compiler. I only want to use express 2010 as an editor. I get no results on google regarding this topic.
Edit: I can change from platform toolset V100 to V90 but I'd like V143 like VS 2022. Is it possible though?
It is possible, but why on earth would you want to continue using Visual Studio Express 2010 as your IDE? VS2022 is so full of goodies and the community edition is free to use.
That being said: The VS2019/VS2022 compilers are just cl.exe, link.exe etc... You can use these compilers instead of the VS2010 cl.exe, link.exe etc... The VS2010 integrated build system will not automatically find them, so you'll either have to fiddle around with paths, get in to trouble with compiler switches etc...
You could switch to makefiles (or CMake) to use the compilers and keep the IDE. VS2010 is then no more than a fancy editor.
Tip: Try compiling your code from the command line (cmd.exe) to get started. Or download VS2022 community edition.

Opening a VB6 project [duplicate]

I want to open a program (written in Visual basic 6) to be open in Visual Studio.net. Please guide, how could I do that?
While trying to open VB6 (.vbp file) program directly from the OPEN project option in visual studion.net, I was getting this error,
"Visual Basic 6 (.vbp) files cannot be opened in Visual Studio"
I am trying to open in VS 2010.
Visual Studio 2010 does not support VB6 projects. See the link here
From the msdn documentation:
Visual Studio 2010 does not provide tools for upgrading applications and projects from Visual Basic 6.0. If you want to upgrade your project from Visual Basic 6.0 to Visual Basic 2010, you can use the upgrade tools provided with earlier versions of Visual Studio and then upgrade the project again in Visual Studio 2010.
Visual Basic Tools for Visual Studio
There's a plugin called Visual Basic Tools for Visual Studio that provides the following features:
load classic VB workspace- and project-files and offers quick access to the extension´s options
integrates with the solution explorer and the code editor having support for syntax highlighting, basic outlining (allows to expand/collapse methods, properties and types) as well as navigation bar support.
Classes, Types, Modules, Forms and Controls can be inspected using the Object Browser and Class View.
From the reading, it's unclear if you can actually build the project, though it does say:
The import tool creates a new solution and MSBuild compatible projects.
Links to the plugin by VS Version
2012-2013
2015
2017
RAD Basic
There is also an independent IDE called RAD Basic that claims the following features:
New and modern IDE (Integrated Development Environment) with form designer supporting drag and drop, code completion, refactoring tools, etc.
RAD Basic Compiler: Compiler 100% compatible with your VB6 project (vbp, frm, bas and cls files). Generate native executables (exe and ocx) in both 32-bit and 64-bit.
RAD Basic Forms: Reimplementation of common VB6 controls and components supporting 32-bit and 64-bit.
etc.
Speaking from my experience, it's not easy to open a Visual Basic 6.0 project in any versions of Visual Studio above 2008.
Although 2008 and below versions do provide an automatic function to convert Vb6 code to the VB.net framework. But, the problem starts after the conversion - it can skip some code, add functions/variables on its own, or modify the functional behavior on its own, and with that the VB.proj will be created with errors and you will not be able to open it anywhere as a solution file. The same with any 3rd party tools.
If you want to open the VB6 code try Visual Basic 6.0 Portable edition.
But headache will still follow you there, please refer this link
Installation of VB6 on Windows 7 / 8 / 10
Make sure you are clicking on the project file itself... Right click on the file and select "Open With" and select your visual studio program. It may need to be converted and if so, it will prompt you to convert the project.
Thanks!
Download Visual Basic Tools for Visual Studio,allows to work with classic VB workspaces and projects

Can not open VB 6.0 files in Visual Studio 2010

If Visual Studio includes Visual Basic, why can't I open a VB 6.0 file in Visual Studio 2010?
Because there's a difference between Visual Basic 6.0 and Visual Basic .NET which is what Visual Studio 2010 includes.
Darin is basically right but omits an important detail.
There's a difference between VB6 and VB.Net, and Visual Studio 2010 includes VB.Net
Earlier versions of VB.Net included an upgrade wizard to help convert VB6 code to VB.Net. This was dropped in Visual Studion 2010. You might want to use Visual Studio 2008 to help upgrade your VB6 to VB.Net, and then migrate to Visual Studio 2010 later. Upgrading VB6 to VB.Net can be a large task.
That's correct. I upgrade to 2008 then to 2010. You have to run the installed program from vb6 first then it will upgrade. You might have terminal failures from unfound assemblies. Go into the .vb form file with a text editor. REM out any failed to load assemblies from the fail report. Then you can re-write the VB code for code errors as the lingo changed. Next upgrade to vb 2010 using that wizard and re-write for new lingo again.
Form sizes are converted to vb6. in 2008, then that is scrapped in 2010, don't re-write that in 2008, if you're upgrading right away, you'll have to re-write in 2010 anyway.
Common file open/save/browse/color/font routines become vb powerpacks 10 which you load with your vb 2010 assembly. You have to re-insert the new common assemblies into the form from the toolbox and re-work the code. There's a bunch of stuff there, but it is do-able.
I have not used VS 2010, but based on my readings, the latest VB is effectively a new language altogether. Since introduction of VB .NET, VB 6.0 has become a stagnant language.

How can I add C# language support to Visual Studio 2010 shell?

Greetings,
I'm using Visual Web Developer Express 2010 to do some development; I have also the Visual Studio 2010 Shell installed, which I use to debug server and client code, using the Debug>Attach to process command.
My problem is that C# (.cs) files open in the shell as if they're plain text files; there's no syntax colouring nor value evaluation on mouse hover over properties or values.
Sometimes when I open ASP.Net pages in the shell I get an error message saying "The Visual Studio language support for C# has not been installed. Code-editing IntelliSense will not be available. Markup IntelliSense for server controls may not work".
VB.Net language support is working well in the shell. I get all the features I have in Visual Studio Express.
Is there a way to get C# language support in the shell?
The Express editions of Visual Studio are a little different than the other SKUs (Professional, Ultimate, etc.) in that there are separate products for the various .NET languages.
My guess is that you have Web Developer Express installed, but in order to open C# code files with the full support of the editor (syntax highlighting, debugging, etc.) you need to download and install Visual C# Express. Multiple versions of Visual Studio Express work side-by-side just fine.
See here to download Visual C# Express 2010 free from Microsoft: http://www.microsoft.com/express/Downloads/#2010-Visual-CS

How to execute the code of VB 6 from Visual Studio 2010, or I need to download VB 6?

Can anyone guide me ,whether is aany method to open a VB6 code from Visual Studio 2010?
Or i need to download VB 6 Compiler separately?(If yes, then please send the link from where i can download the VB6 or guide me from where i can download it?)
Visual Studio (starting with Visual Studio .NET 2002) does not compile Visual Basic 6.0 projects. You will need to legally obtain Visual Basic 6.0 to compile the code.
If you just need the Visual Basic 6.0 runtime, most modern Windows versions have it installed.
No you can't, you'll need a copy of Visual Basic 6. You can get it from MSDN.

Resources