I am tring to build a desktop app using vb.net (visual basic) and UWP

sumsnow 116 Reputation points
2021-02-10T01:03:37.92+00:00

My UWP app is to query user's database, and display some results.

My questions are:

  1. Can my UWP app access other databases, such as Oracle or mysql or DB2?
  2. My users have various desktop/laptop. If they are running Windows 10, they don't need to install .net and visual studio in their device in order to run my app, correct? The users might don't want to install or update these software because it probably affects other apps in their computer.
  3. Is it the right choice for me to use the Windows Runtime Components (Universal Windows)

Thank you in advance!

  • JY
Universal Windows Platform (UWP)
0 comments No comments
{count} votes

Accepted answer
  1. Ken Tucker 5,846 Reputation points
    2021-02-10T01:40:48.867+00:00

    Yes you can access a database from a UWP. Would I recommend it no. It would be better to create a web service for getting or saving the data from the database and have your UWP use the service. It makes the database safer.

    Another choice is to use a .net 5 wpf or windows forms app. You can compile it into a single file app.

    https://learn.microsoft.com/en-us/dotnet/core/deploying/single-file

    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. sumsnow 116 Reputation points
    2021-02-10T08:36:53.957+00:00

    Thank you so much for the quick response! So if I understand it correctly, even for windows forms app, users do not need to install or update the .net framework in their Windows PC to run if the app is compiled into a single file app?

    This is a great news because I have partially built the app in Windows Form. But when I searched the internet I only found answers saying that users have to have implement a .net framework to run windows app.

    • JY
    0 comments No comments