locked
Vb - Mobile RRS feed

  • Question

  • I've been hearing a lot about how you can take your .Net app to mobile without needing to port it over. I seen a lot of tools for C# but what about Vb.net is there any support for that yet and if so how do you port it over to windows phone or android?
    Monday, February 22, 2016 1:08 PM

Answers

  • I don't see anything there for porting Windows Forms apps to Windows Mobile (Universal Windows Applications). There is cross-platform between mobile devices (Windows, Android, iOS) using the 3rd party platform Xamarin and C#. I think there is some Xamarin support for Visual Basic .NET "portable libraries" but once again this is a third-party platform that would have to depend upon the vendor and not Microsoft.

    For targeting multiple Windows devices it looks like Universal Windows Applications is the way to go as far as Visual Basic is concerned. Any port from a Windows Forms app I would expect to be mostly a manual process.

    https://www.visualstudio.com/en-us/features/universal-windows-platform-vs.aspx


    Paul ~~~~ Microsoft MVP (Visual Basic)

    • Proposed as answer by Cor Ligthert Monday, February 22, 2016 4:49 PM
    • Marked as answer by old_School Monday, February 22, 2016 7:42 PM
    Monday, February 22, 2016 4:32 PM

All replies

  • If you are referring to Universal Windows Applications then yes these tools are in Visual Studio 2015. I don't know what C# tools you are referring to that will convert a Windows Forms app to the mobile platform. The platforms are different. For Android or iOS you are probably looking at using Xamarin.

    The Smart Device Development forums are at the below link:

    https://social.msdn.microsoft.com/Forums/en-US/home?category=smartdevicedevelopment

     


    Paul ~~~~ Microsoft MVP (Visual Basic)

    Monday, February 22, 2016 1:47 PM
  • You should post to mobile device forum However, one can use a mobile device's browser and use a Web site and ASP.NET UI of Web form solution using MVP or MVC and Web API without having to deploy any software to a mobile device.

    https://social.msdn.microsoft.com/Forums/en-us/home?category=smartdevicedevelopment

    http://www.dotnet-tricks.com/Tutorial/webapi/VG9K040413-What-is-Web-API-and-why-to-use-it-?.html

    Monday, February 22, 2016 1:49 PM
  • Ok Paul your saying in 2015  they have the tool for Vb .net to port to Mobile from desktop?
    Monday, February 22, 2016 2:44 PM
  • I got a similar response about a related topic. It looks like you can use cross platform tool in 2015 but its only for c# and C++. So do they plan on supporting Vb for cross platform development?
    Monday, February 22, 2016 3:02 PM
  • No, I was saying that it contains the project templates for creating Universal Windows Applications. I'm not familiar with any tools that convert Windows Forms apps to Universal Windows Applications (VB.NET or C#). Most Windows Forms apps are simply not designed to run in the mobile environment, so typically a number of modifications would be required to the code in order to do so.

    Paul ~~~~ Microsoft MVP (Visual Basic)

    Monday, February 22, 2016 3:08 PM
  • I got a similar response about a related topic. It looks like you can use cross platform tool in 2015 but its only for c# and C++. So do they plan on supporting Vb for cross platform development?

    Can you post a link to this cross platform tool to which you are referring?

    Paul ~~~~ Microsoft MVP (Visual Basic)

    Monday, February 22, 2016 3:46 PM
  • I've not had a chance to dig deep into this but here is the link given to me:

    https://www.visualstudio.com/en-us/features/mobile-app-development-vs.aspx

    your likely a more experienced developer then my self. From what I understand you can port desktop winform based to web but I could be misunderstanding the "hybrid" app.

    Monday, February 22, 2016 3:47 PM
  • I don't see anything there for porting Windows Forms apps to Windows Mobile (Universal Windows Applications). There is cross-platform between mobile devices (Windows, Android, iOS) using the 3rd party platform Xamarin and C#. I think there is some Xamarin support for Visual Basic .NET "portable libraries" but once again this is a third-party platform that would have to depend upon the vendor and not Microsoft.

    For targeting multiple Windows devices it looks like Universal Windows Applications is the way to go as far as Visual Basic is concerned. Any port from a Windows Forms app I would expect to be mostly a manual process.

    https://www.visualstudio.com/en-us/features/universal-windows-platform-vs.aspx


    Paul ~~~~ Microsoft MVP (Visual Basic)

    • Proposed as answer by Cor Ligthert Monday, February 22, 2016 4:49 PM
    • Marked as answer by old_School Monday, February 22, 2016 7:42 PM
    Monday, February 22, 2016 4:32 PM
  • I've not had a chance to dig deep into this but here is the link given to me:

    https://www.visualstudio.com/en-us/features/mobile-app-development-vs.aspx

    your likely a more experienced developer then my self. From what I understand you can port desktop winform based to web but I could be misunderstanding the "hybrid" app.

    You are in for a rude awaking. Heck,  Android devices don't even work the same with the same program running on manufacture's phone with its drivers  as opposed to another manufacture's phone and its drivers.  

    And no, some Windows form based solution being ported over to a Web form based solution is not done easily either without jumping through a lot of hoops as the Web desktop and the Web are two entirely different environments.

    Web based solutions are stateless solutions, and one has to jump through hoops to make a Web solution remember the state of the client using the Web application. You don't have to do the same with a Windows based solution that always keeps state as long as it is running.    

    Monday, February 22, 2016 4:38 PM
  • Thank you Paul & Cor Ligthert. Looks like Universal windows apps are the future. I'll see if it supports VS 2010 or 2012
    Monday, February 22, 2016 7:43 PM
  • Thank you Paul & Cor Ligthert. Looks like Universal windows apps are the future. I'll see if it supports VS 2010 or 2012

    Where did Cor post in this thread?
    Monday, February 22, 2016 7:56 PM
  • Thursday, February 25, 2016 2:55 PM
  • And then of course there is this recent news:

    http://blogs.microsoft.com/blog/2016/02/24/microsoft-to-acquire-xamarin-and-empower-more-developers-to-build-apps-on-any-device/


    Paul ~~~~ Microsoft MVP (Visual Basic)

    Looks like VB.NET is being left behind on mobile devices. It could be due to C# is an ECMA and ISO standard controlled by those organizations, and VB.NET is not an ECMA and ISO standard.

    Thursday, February 25, 2016 5:50 PM
  • And then of course there is this recent news:

    http://blogs.microsoft.com/blog/2016/02/24/microsoft-to-acquire-xamarin-and-empower-more-developers-to-build-apps-on-any-device/


    Paul ~~~~ Microsoft MVP (Visual Basic)

    Looks like VB.NET is being left behind on mobile devices. It could be due to C# is an ECMA and ISO standard controlled by those organizations, and VB.NET is not an ECMA and ISO standard.

    Unless Microsoft adds more VB support to Xamarin. Of course you can already build Universal Windows apps with VB.


    Paul ~~~~ Microsoft MVP (Visual Basic)

    Friday, February 26, 2016 12:35 PM
  • And then of course there is this recent news:

    http://blogs.microsoft.com/blog/2016/02/24/microsoft-to-acquire-xamarin-and-empower-more-developers-to-build-apps-on-any-device/


    Paul ~~~~ Microsoft MVP (Visual Basic)

    Looks like VB.NET is being left behind on mobile devices. It could be due to C# is an ECMA and ISO standard controlled by those organizations, and VB.NET is not an ECMA and ISO standard.

    Unless Microsoft adds more VB support to Xamarin. Of course you can already build Universal Windows apps with VB.


    Paul ~~~~ Microsoft MVP (Visual Basic)

    One can build Web applications with VB.NET too. It's just not being done or hardly at all at the enterprise level. In all my travels across the US as a contractor since year 2000 and out, I have only seen one VB.NET Web site, which I think that C# is being pushed more because of its ECMA and ISO status. C# it seems will always be pushed first ahead of VB.NET. I don't like saying it, because VB was my 1st MS language way back in the 1990(s). But it is what it is.

    Friday, February 26, 2016 10:04 PM
  • One can build Web applications with VB.NET too. It's just not being done or hardly at all at the enterprise level. In all my travels across the US as a contractor since year 2000 and out, I have only seen one VB.NET Web site, which I think that C# is being pushed more because of its ECMA and ISO status. C# it seems will always be pushed first ahead of VB.NET. I don't like saying it, because VB was my 1st MS language way back in the 1990(s). But it is what it is.

    Not sure how to respond to that since none of the web applications in our shop were developed with C#. We have no contractors. ;-)

    In my experience, which is quite lengthy, it really doesn't matter whether you use Visual Basic or C#.


    Paul ~~~~ Microsoft MVP (Visual Basic)

    Friday, February 26, 2016 11:08 PM
  • One can build Web applications with VB.NET too. It's just not being done or hardly at all at the enterprise level. In all my travels across the US as a contractor since year 2000 and out, I have only seen one VB.NET Web site, which I think that C# is being pushed more because of its ECMA and ISO status. C# it seems will always be pushed first ahead of VB.NET. I don't like saying it, because VB was my 1st MS language way back in the 1990(s). But it is what it is.

    Not sure how to respond to that since none of the web applications in our shop were developed with C#. We have no contractors. ;-)

    In my experience, which is quite lengthy, it really doesn't matter whether you use Visual Basic or C#.


    Paul ~~~~ Microsoft MVP (Visual Basic)

    Yes it does make a difference if you have worked in an industry where rules, regulations and compliance are mandatory based on ECMA and ISO standards. And you can bet that companies with shops that that were VB before .NET left VB and went to C# because of regulatory and compliance standards if they complied to ECMA or ISO standards. :)

    ADM look it up, a multi international food conglomerate, was one of them as I watched the decision making process by management to go to C#.  And you can bet there were tons of others that made that choice to go to C# over VB.NET because of the ISO and ECMA standards that were applied to C#.

    Food industry is just one of them.

      http://www.ecma.org/industry-topics/food-safety-/-gmp/
    Saturday, February 27, 2016 1:19 AM