UWP questions, XAML, Windows Forms

VB_al 91 Reputation points
2021-02-09T17:44:37.61+00:00

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)
Next
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
Thanks

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

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.