Updating Windows Forms application to run on Windows 8.1 - winforms

I've some time lately trying to find a clear answer for updating some of my desktop applications to run on Windows 8.1 (Desktop/laptop and Surface). So far everything I am finding is pointing toward developing for the Windows Store where the application then could be downloaded.
Heres my development Environment:
Windows 7 Ultimate
MS Visual Studio 2012 Premium
MS Visual Studio 2013 Express
My test environment consist of:
Windows 8.1 Surface Tablet
Windows 8.1 Laptop
When I build something now (retargeted to the newer framework (4.5 (4.5.1 is installed)) and copy it over to these devices and try to run them I get an error that the indicates "This app can't run on your PC" "To find apps for this PC, open the Windows Store.". This isn't really what I want to do, I just want to make he applications we use on a day to day basis in my retail store availible to the new computers.
A couple of questions come to mind;
Does the development environment need to be a Windows 8.1 based environment?
Do I need to again buy a new version of Visual Studio (Visual Studio 2013)?
Am I stuck using the Windows Store to deploy applications?
If anyone could point me in the right direction as to where to read or provide some insight tho cross this hurdle would surely save alot of repeated reading about how great the store is.

A Surface tablet does not permit running desktop apps. You can only run apps that are downloaded from the Store. So scratch the idea that your Winforms app is going to work on the tablet. There isn't any good reason why it would not work on the laptop, they work fine on mine.
Does the development environment need to be a Windows 8.1 based environment?
Yes, for VS2013. For VS2012 it needs to be at least 8.0
Do I need to again buy a new version of Visual Studio (Visual Studio 2013)?
You didn't buy VS2013, you do need the correct version of Express. There are several. You need the "Express 2013 for Windows" edition, it only supports developing apps for the Store. You probably have the "Express 2013 for Windows Desktop" edition, it only supports desktop apps and supports Winforms. The retail edition supports all targets. The Express editions were split to keep them small.
Am I stuck using the Windows Store to deploy applications?
If you develop Store apps, yes. You get a temporary license to develop the app but it expires after a month. If you need more time then you get just another license. But the app needs to be certified to obtain a permanent license so it can run permanently on the Surface machine. And everybody else's.

Related

How can I install SSDT for use in an enterprise without a license (i.e. for free $$$)?

I want to create a SQL Database project and manage my database as code (e.g. DevOps), but I am not sure what tools I can use for free within an enterprise.
How do I install and use SSDT without requiring paid licensing and violating any EULAs, such as Visual Studio Community Edition's?
In enterprise organizations (meaning those with >250 PCs or > $1M in annual revenue) no use is permitted...
This Microsoft article states that I can use SSDT in VS2019, but it doesn't tell me how to install it and not violate EULA.
This SSDT Download page is unhelpful and does not provide anything about licensing.
Also, I considered other tools, but looking at docs they don't seem comparable to SSDT:
Azure Data Studio - (cross-platform) new preview extension SQL Database Project supports DACPAC. I wasn't happy with my previous trial of this product. Maybe I'll give it another try in a couple years.
VS Code: Does not appear to have any extensions that directly support a SQL Database Project and/or DACPAC
Thanks to all of the answers, but I think I found what I was looking for in the Visual Studio Community Edition license: https://visualstudio.microsoft.com/license-terms/mlt031819/
My understanding, is that this allows me to use Visual Studio 2019 Community Edition for SSDT tools in an enterprise setting.
You don't have to install SSDT in Visual Studio 2019, even in Community. Go to new project and type SQL and hit return. It will say something like "SQL Server Database Project". Guess what? That's SSDT. In older versions, it was a separate install. It is now part of the core Visual Studio. And you upgrade it, if there are any, the same way you do anything else.
Already installed Visual Studio? No problem. Reopen the installer and install the data tools. This can be part of the payloads they have (I forget which one, but it has to do with data) or you can click on the tab that allows you to install individual components and search for the SQL tools. Once installed, they are there.
I don't belie you can install using the SSDT separate installer anymore, just like you know handle all of the .NET Core installs in Visual Studio, rather than separate. Kathleen Dollard outlined this in one of her posts last year (not SSDT, but .NET Core, etc.), so it has been a bit more than a year these things got folded into the installer. Core may still allow download and install? Not sure. But SSDT is the SQL project in 2019.
I guess that you can use SSDT anywhere where you can use Visual Studio. In other words, if you can use Visual Studio - you can use SSDT as well. Now the question - can you use Visual Studio? Here is the link to pdf document describing their Licensing policy.
Here is the snapshot from there:
Visual Studio Community 2019 is a free,
full-featured IDE for any developer building non-enterprise apps
across any platform or device. It includes all the capabilities needed
to create compelling non-enterprise applications, including powerful
productivity features, mobile development tools for Windows, iOS and
Android, and access to thousands of extensions.
Who can use the Software
Rights to use Visual Studio Community depend on the customer
segment and usage scenarios as explained below.
Individual developers
Any individual developer can use Visual Studio Community to create their
own free or paid apps. In addition, any number of users may use the
software to develop and test device drivers for the Windows operating
system.
Organizations
• An unlimited number of users within an
organization can use Visual Studio Community for the following
scenarios: in a classroom learning environment, for academic research,
or for contributing to open source projects.
• Any number of users may use the software to develop and test device drivers for the Windows operating system.
•For all other usage scenarios: In non-enterprise
organizations up to 5 users can use Visual Studio Community. In
enterprise organizations (meaning those with >250 PCs or > $1M in
annual revenue) no use is permitted for employees as well as
contractors beyond the open source, academic research and classroom
learning environment scenarios described above
VS Code - is the text/development editor that have nothing for SSDT, you can work with SSDT projects like with files and folders. You won't be able to build/validate/deploy the project.
ADS - the text/development editor that was created on the base of VS Code to work with SQL Server databases. You can do some basic stuff for SSDT projects (build, deploy, compare, add/remove objects), but is not so powerful as Studio SSDT version yet.
Technically you need only MSBuild and SQLPackage to build and deploy dacpacs, so if these tools can be used for free in Enterprise, then you can technically do everything without the Studio, just with ADS or in hard-core way - with any editor if your knowledge is deep enough to generate proper sqlproj (xml) file.

what is the new approach to developing C# apps with a stand-alone database?

I'm looking into developing single deployment applications, traditional desktop applications with simple database(s) embedded. By my understanding Microsoft have removed support for MSSQL Compact Edition in the newer versions of Visual Studio.
I've read that the approach recommended by them is to use the Express version of MSSQL, however I'm failing to understand how an application with an Express SQL database embedded in it would be able to run on a machine without the SQL service installed and running.
Am I missing something here? I've hunted around Google for the last few hours, is the only solution to use a 3rd party technology like SQLite?

Windows Ce 5.0 vs Windows Mobile 6

I'm thinking of purchasing Opticon PHL 7112 accumulator which runs on Windows CE 5.0 i was wondering will i be able to:
develop an application that connects to an open MSSQL database
is there a capability to get data from a SOAP web service?
i saw that only visual studio 2008 support development for windows ce, is there a way to enable this on visual studio 2010-2012 ?
if possible to connect to MSSQL database how to do it
if only possible to connect to a SOAP web services how to do it
I'm new to windows CE programming. Also the development environment is Windows 8.1.
I have a lot of experience in developer with WINCE.
It 'very easy to connect to a data source of type SOAP / WebServices and you can do it through VISUAL STUDIO, add ServiceReferences doing and following the instructions.
Through SAOPA / WebServices Return the data you read from your database, you can also use local versions of Database (would not recommend)
You have to use to develop WINCE exclusively VISUAL STUDIO 2008 other versions no longer support this platform.
I have a lot of work on these types of devices, and for the maintenance and development use only one pc WIN7 + VS2008.
It 'a stable and effective technology.

How to add WPF to Visual Studio 2012?

I have downloaded and installed Visual Studio Express 2012 for Windows Phone. Is there a way to be able to code WPF apps for Windows too? Can I upgrade Visual Studio, because at the moment I can only create windows phone apps. Haven't found anything on the web.
Thanks in advance!
You need to get Visual Studio Express for Windows Desktop (or a paid SKU) to develop WPF applications.
http://www.microsoft.com/visualstudio/eng/products/visual-studio-express-for-windows-desktop
This version is for Desktop apps.
Did you install "Express for Windows Phone"? Perhaps try "Express for Windows Desktop"?
http://www.microsoft.com/visualstudio/eng/products/visual-studio-express-for-windows-desktop
(must admit I've not tried express in a while, but it looks like they are different installers. I've always found Visual Studio works well side-by-side with different versions these days, so I imagine you can install both.)

WPF apps and operating system

WPF apps only work on win XP ,Win vista and windows 7. is it true. can't we run on windows 2003 server. please discuss the limitation if is there anything for WPF.
WPF runs fine on Windows 2003 (currently supporting .NET 3.0 through .NET 4.0). (I'd suggest using .NET 4.0 if you're starting a new project, or at least 3.5 SP1).
3.5sp1 supported OS: Windows Server 2003;Windows Server 2008;Windows Vista;Windows XP
4.0 supported OS: Windows 7;Windows Server 2003 Service Pack 2;Windows Server 2008;Windows Server 2008 R2;Windows Vista Service Pack 1;Windows XP Service Pack 3
Aero glass is available in Vista, Windows 7, and Windows 2008+ (when enabled). You will not get a "glassy" effect in Server 2003 or XP without implementing it yourself, or copying the themes and forcing it (although you still won't get Aero glass windows without even more extra work).
You may find that many graphics and animations are software rendered rather than hardware rendered if the video card does not support DirectX9+ adequately (check Graphics Rendering Tiers for more information). This may affect the performance of your application.
The look and feel of the application is based on the operating system theme by default. So, if Aero glass is disabled (by using the "classic" look in Windows Vista/7), your application will take on a look of Windows 2000 for example.
WPF will run if .NET 3.0 and above in installed.

Resources