UWP questions, XAML, Windows Forms

VB_al 91 Reputation points

Hello, i have some questions/problems about UWP apps [VB.net]

-Why i can't code something like -> MsgBox("This is a question") but i have to code -> dim MESSAGE = new MessageDialog("This is aquestion)" [Imports Windows.UI.Popups]

-And i can't code something like
For Each EXAMPLE_with_processes In Process.GetProcesses(My.Computer.Name)
because VS gives me an error on My.Computer.Name

-The code of mainpage [VB.net code] goes in MainPage.XAML.vb?
-I saw in MainPage.g.vb events generated in the GUI

I know these are a lot of questions, but i am really confused and i haven't found nothing in DOCS that helped me

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,857 questions
Universal Windows Platform (UWP)
{count} votes