How can I get toolbox in Visual Studio Shell when I am working with F#? Currently I have installed F# with Visual Studio integrated mode. I want to design GUI forms with toolbox.
I don't think there is a GUI designer for F#, especially considering the discussion in this thread. But there are some tricky ways to make use of the GUI designer for C# as this article shows.
Related
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
We are using a commercial software that has its own scripting language with which you can customize the product. It is very tedious to write code in it without any help from an IDE and it has its own compiler.
Is it possible to use Visual Studio and create an environment for me to write scripts in this language and get the help of intellisense and syntax highlightning and other good things you find in an IDE? Ideally I would like to bind a button in VS to launch the external compiler and compile the code so I don't have to switch windows all the time as well.
If this is possible is it a very hard thing to accomplish?
Yes, this is certainly possible. You need to create a Visual Studio Shell add-in with custom language services and text editors. You need to install the appropriate Visual Studio SDK and then you'd continue to:
Create a custom Editor and/or designer
Add a language service
Add Project and Item templates
You're allowed to ship Visual Studio Isolated Shell with your application (license required and there are some limitations) so that your users don't need to have Visual Studio Professional installed.
There are a number of open-source projects that provide a custom editor, language services etc in Visual Studio, these could provide a nice place to research how things are done, next to teh Visual Studio SDK documentation:
PyTools, which is a Visual Studio editor for IronPython
Phalanger, which contains a Visual Studio editor for PHP
PoShTools, a Visual Studio service for PowerShell editing right inside Visual Studio
You'll probably want to dig into MsBuild as well, since Visual Studio will expect you to create a project file if you want to edit a collection of files and compile them. MsBuild could in turn call your own compiler, like it calls csc to compile C# code for example.
Creating Project Types
I want to use Visual Studio (maybe Isolated Shell) to create a custom IDE for programming a custom ARM-based device in C. The device has no OS and is being used like a microcontroller.
Atmel's AVR Studio 5 uses the Visual Studio 2010 Isolated Shell and I would like to do something similar. I am currently using a gcc-based ARM compiler.
I've already been through MSDN's documentation for extending Visual Studio, but I can't find anything specific to this task. Can someone give me an idea of how to approach this? For example, is there some way for me to leverage the Visual C++ editor without having to use Babel to re-teach Visual Studio about C?
MSDN documentation is not enough if you want to create a new IDE in fact. My personal suggestion is that you learn from existing large samples, such as this Python IDE,
http://pytools.codeplex.com/
It is designed by Microsoft, so it provides much useful information that does not appear in MSDN.
However, reusing Visual C++ editor means you cannot use only Visual Studio 2010 Isolated Shell (I think), as that may require some assemblies that only full Visual Studio has.
I'm curious what aspects you use the Expression Web for and what you prefer to do in Visual Studio.
I understand Expression Blend is for making GUI elements of WPF applications, with the programming done in Visual Studio, but how do Expression Web and Visual Studio fit together?
Expression Web is used for the UI design.
Visual Studio is used for programming the underlying model and hooking up to the UI.
They both understand XAML and can share the project/solution structure.
In fact, the were designed to inter-operate in this manner.
I prefers to use Visual Studio for most of my development needs. I briefly used Expression Web but I don't use visual design aids that much so I go back to Visual Studio & Firebug for pretty much all my web developments.
Expression Blend, on the other hand, is the go to tool if you want to do WPF & Silverlight frontend. It speeds up the UI designing process a lot.
Visual Studio is for coding!
Expression is for design!
You can easily use them together.
If you do a change in one of the the other will prompt you
for this change.
If not just refresh.
If you need to open a page through visual studio right click this page.aspx and 'open with' and find and chose expression blend.
When I've started learning Blend with VS 2010, I've used Expression Blend to make the GUI and and VS for coding. After a time I was only using Visual Studio 2010 for everything. My advice to you is to only use Visual Studio 2010 for complete development of your applications.
as far as i know, visual studio is a GUI code generator among other things, you drag a button and put it on the window, a code is written for you behind the scene.
my Question is:
what's the GUI framework Visual studio is using by default???
i know it integrates with some GUI toolkits as Fox, GTK and QT .
Strictly speaking, Visual Studio doesn't integrate with other GUI toolkits; the toolkits may integrate with VS. For instance, Qt provides integration with Visual Studio, so you can develop Qt apps from within the VS IDE.
Visual Studio itself supports development for several frameworks:
Raw Win32 (OK, not really a framework, but I thought I'd mention it for completeness; and there is a dialog editor)
MFC for C++ (crude support for GUI design)
WTL for C++ (no support for GUI design, AFAIK; it's all code)
Windows Forms for .Net
WPF for .Net
I don't know that it makes sense to speak of a default framework. Windows Forms is, I think, the most commonly used today, with WPF rising in popularity (or maybe I'm out of date).
Visual Studio 2010, itself, uses Windows Presentation Foundation for it's user interface. It can be used to create applications using any GUI framework, however, and comes with template projects for WPF, Windows Forms, and MFC (C++) for GUIs.