I want to create a WinForms IronPython app.
I have installed IronPython, but the toolbox is empty.
How to I add Python controls to it?
The toolbox is only available if you create an IronPython WPF Application. Unfortunately there is no designer support for a IronPython Windows Form Applications. The Windows Form has to be completely written in Python.
Source: https://github.com/Microsoft/PTVS/wiki/Projects#project-types. (Read the "IronPython Windows Forms Application" section)
Related
Trying to work with MonoDevelop (F#) on Linux and it's quite painful without the tooltips(type/func signatures) im used to in VS. Is this functionality available in MonoDevelop? Assuming latest builds.
Assuming you are using MonoDevelop 6+ there is a FSharp Addin
F# Editing Support In MonoDevelop and Xamarin Studio
Features:
Code completion
Syntax highlighting
Tooltips
Debugging
Target .NET 3.5, 4.0, 4.5
F# Interactive scripting (Alt-Enter execution)
Templates (Console Application, Library, Tutorial Project, Gtk Project, iOS, Android)
Makefile support
Supports F# 3.0 type providers (requires F# 3.0)
xbuild support for Visual Studio .fsproj and .sln files without change (requires Mono 3.0 and F# 3.0)
Prerequisites
To use F# language support please ensure that you have F# installed on your system, for details on this please see http://fsharp.org
Installation
First check install MonoDevelop/Xamarin Studio. Check if F# support is already installed using the AddIn manager. MonoDevelop/Xamarin Studio --> Add-in manager --> Language Bindings --> Check for F# binding
If so, just use it, no installation is required.
If not, install the F# Language Binding via the AddIn manager.
MonoDevelop/Xamarin Studio --> Add-in manager --> Gallery --> Language Bindings --> F# Language Binding
Solution as per #SushiHangover advice was to build latest MonoDevelop from source. No additional addins were required to see F# tooltips. https://github.com/mono/monodevelop
Is there any way merging Windows Forms Application with Win32 Project Application (VS 2012), both written in Visual C++?
Windows Forms Application plays video (via vlc plugin) and Win32 Project Application displays the codes of a joypad (via a dialog box). I want an executable doing both. How can I achieve this?
If you use MFC, you should read the following article:
Integrate Windows Forms Into Your MFC Applications Through C++ Interop
And see here: Windows Forms and Unmanaged Applications Overview
If you just want to show a dialog, this should not be a problem; if you want to embedd a control, you should use ActiveX controls.
See also: http://www.gregcons.com/KateBlog/MixingMFCAndWinForms.aspx
In my company we have an existing product that runs on Windows 7 and communicates with our web services.
We wish to make a Windows 8 tablet version of our product, and my first thought was:
"Hey, its just a new Windows version, so we can probably use our existing model, data access and business layer logic projects, and just focus on making a new UI layer"
But I fear that this is not the case, or am I wrong?
I tried opening our VS2010 solution file in VS2012 Express, but received an error "This edition of Visual Studio only supports Windows Store apps".
So, my naive hope now is: Can anyone tell me the easiest way to make our existing code work in a Windows 8 App?
EDIT:
The code is .NET C#, and my thought was that I just wanted to make a Windows 8 app so that the product had a tablet/touch friendly interface.
In general, you'll make a new UI using XAML, reuse a lot of your existing code, and change the data access to use SQLite.
VS2012 Express Edition is for making Windows Store apps. By "Windows Store" app, I mean an app which uses the WinRT APIs. Depending on your code, making a Windows Store version of your app can be straightforward.
If you need other features, you might need a different version of Visual Studio 2012. You definitely need to be on 2012 though. You can't build a Windows Store application with Visual Studio 2010. I think you know this already though.
If your existing .NET app uses WPF for the UI, you can reuse a lot of your XAML knowledge for the Windows 8 port. It's not as simple as recompiling, but it should be straightforward.
SQL CE is currently not an option for Windows Store applications. Instead, consider using SQLite.
Take a look at a post on MSDN called .NET for Windows Store apps - supported APIs. Some APIs you may be familiar with have been moved to WinRT. Sometimes porting is as simple as changing namespaces.
You mention that you also write to the C: drive. There's a sample on MSDN on how to read and write files.
So You need to build a new Metro Style Interface.
Wen You built interface just copy the Logic of your old application.
You can open old application in old VS 2010 and copy code line by line.
You can't convert old Windows app to Metro Style App.
I have been attempting to create a Windows Application using Iron Ruby Version 1.1 and Ruby in Steel for Windows Visual Studio 2010. I have attempted many times to start a new Iron Ruby Windows Application project. I am able to create such a project, however, upon creation, the project is merely a .rb file. My question is how can I create a Windows Form file in [Design] mode?
Iron Ruby lacks any support for a designer in WinForms, currently. You'll have to manually code it, much of what the designer is doing for you.
Someone wrote a tool to convert C# designer code into Ruby, but that's as much support for a WinForms designer as Iron Ruby has.
There may be designer functionality support added later, either third party or official, but nothing exists like that right now. There is some promising progress though.
Whilst Visual Studio with Ruby in Steel does not have support for designing Windows Forms you could try using SharpDevelop at least for the Windows Forms code generation. SharpDevelop has support for creating Windows Forms projects in IronRuby and also has a forms designer that will generate IronRuby code.
As far as I am aware the IronRuby support that SapphireSteel were working on was stopped and they are concentrating on standard Ruby.
Is it possible to do Windows Mobile development in Visual Studio (2008), where the Windows Mobile Forms designer appears in "hi-res" (VGA/>96 DPI), rather than the default lo-res view?
I'm using Resco controls, which have some built-in support for hi-res, but it's a little bit slow to develop any significant forms, because you don't know what it will look like until you run the application.
Change the FormFactor property on your forms to something with "VGA" in it.