Skip to content

Commit 55d9fb4

Browse files
Merge pull request #10595 from MicrosoftDocs/main638736233628837102sync_temp
For protected branch, push strategy should use PR and merge to target branch method to work around git push error
2 parents 5728261 + a58239f commit 55d9fb4

9 files changed

+151
-148
lines changed
Loading

docs/get-started/csharp/tutorial-console.md

Lines changed: 63 additions & 59 deletions
Large diffs are not rendered by default.

docs/ide/create-a-visual-basic-winform-in-visual-studio.md

Lines changed: 12 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.subservice: general-ide
88
ms.topic: tutorial
99
dev_langs:
1010
- VB
11-
ms.date: 03/28/2024
11+
ms.date: 01/24/2025
1212
ms.custom: vs-acquisition
1313
#customer intent: As a developer, I want to create a simple Visual Basic program to understand how Visual Studio handles Forms.
1414
---
@@ -28,11 +28,11 @@ In this tutorial, you learn how to:
2828
## Prerequisites
2929

3030
::: moniker range="vs-2019"
31-
- You need Visual Studio to complete this tutorial. Visit the [Visual Studio downloads page](https://visualstudio.microsoft.com/vs/) for a free version.
31+
- You need Visual Studio to complete this tutorial. Visit [Visual Studio downloads](https://visualstudio.microsoft.com/vs/) for a free version.
3232
- The **.NET desktop development** workload. To verify or install this workload in Visual Studio, select **Tools** > **Get Tools and Features**. For more information, see [Change workloads or individual components](../install/modify-visual-studio.md#change-workloads-or-individual-components).
3333
::: moniker-end
3434
::: moniker range=">=vs-2022"
35-
- You need Visual Studio to complete this tutorial. Visit the [Visual Studio downloads page](https://visualstudio.microsoft.com/downloads/?cid=learn-onpage-download-cta) for a free version.
35+
- You need Visual Studio to complete this tutorial. Visit [Visual Studio downloads](https://visualstudio.microsoft.com/downloads/?cid=learn-onpage-download-cta) for a free version.
3636
- The **.NET desktop development** workload. To verify or install this workload in Visual Studio, select **Tools** > **Get Tools and Features**. For more information, see [Change workloads or individual components](../install/modify-visual-studio.md#change-workloads-or-individual-components).
3737
::: moniker-end
3838

@@ -42,19 +42,17 @@ Create a Visual Basic application project.
4242
The project type comes with all the template files that you need.
4343

4444
::: moniker range="vs-2019"
45-
1. Open Visual Studio.
45+
1. Open Visual Studio, then select **Create a new project** on the start window.
4646

47-
1. On the start window, select **Create a new project**.
48-
49-
:::image type="content" source="../get-started/media/vs-2019/create-new-project-dark-theme.png" alt-text="Screenshot shows the Visual Studio 2019 start window with Create a new project selected.":::
47+
:::image type="content" source="../get-started/media/vs-2019/create-new-project-dark-theme.png" alt-text="Screenshot showing the Visual Studio 2019 start window with Create a new project selected.":::
5048

5149
1. On the **Create a new project** window, select the **Windows Forms App (.NET Framework)** template for Visual Basic.
5250

5351
You can refine your search to quickly get to the template you want.
5452
For example, enter *Windows Forms App* in the search box.
5553
Next, select **Visual Basic** from the languages list, and then **Windows** from the platform list.
5654

57-
:::image type="content" source="../get-started/visual-basic/media/vs-2019/vb-create-new-project-search-winforms-filtered.png" alt-text="Screenshot shows the Create a new project window with Windows Forms App (.NET Framework) selected." lightbox="../get-started/visual-basic/media/vs-2019/vb-create-new-project-search-winforms-filtered.png":::
55+
:::image type="content" source="../get-started/visual-basic/media/vs-2019/vb-create-new-project-search-winforms-filtered.png" alt-text="Screenshot showing the Create a new project window with Windows Forms App (.NET Framework) selected." lightbox="../get-started/visual-basic/media/vs-2019/vb-create-new-project-search-winforms-filtered.png":::
5856

5957
1. In the **Configure your new project** window, enter *HelloWorld* as the **Project name**. Then, select **Create**.
6058

@@ -65,19 +63,17 @@ The project type comes with all the template files that you need.
6563
::: moniker-end
6664

6765
::: moniker range=">=vs-2022"
68-
1. Open Visual Studio.
69-
70-
1. On the start window, choose **Create a new project**.
66+
1. Open Visual Studio, then select **Create a new project** on the start window.
7167

72-
:::image type="content" source="../get-started/media/vs-2022/create-new-project.png" alt-text="Screenshot shows the Visual Studio 2022 start window with Create a new project selected.":::
68+
:::image type="content" source="../get-started/media/vs-2022/create-new-project.png" alt-text="Screenshot that shows the Visual Studio 2022 start window with Create a new project selected.":::
7369

7470
1. On the **Create a new project** window, select the **Windows Forms App (.NET Framework)** template for Visual Basic.
7571

7672
You can refine your search to quickly get to the template you want.
7773
For example, enter *Windows Forms App* in the search box.
7874
Next, select **Visual Basic** from the language list, and then **Windows** from the platform list.
7975

80-
:::image type="content" source="../get-started/visual-basic/media/vs-2022/vb-create-new-project-search-winforms-filtered.png" alt-text="Screenshot shows the Create a new project window with Windows Forms App (.NET Framework) selected." lightbox="../get-started/visual-basic/media/vs-2022/vb-create-new-project-search-winforms-filtered.png":::
76+
:::image type="content" source="../get-started/visual-basic/media/vs-2022/vb-create-new-project-search-winforms-filtered.png" alt-text="Screenshot that shows the Create a new project window with Windows Forms App (.NET Framework) selected." lightbox="../get-started/visual-basic/media/vs-2022/vb-create-new-project-search-winforms-filtered.png":::
8177

8278
1. In the **Configure your new project** window, enter *HelloWorld* as the **Project name**. Then, select **Create**.
8379

@@ -100,7 +96,7 @@ You create a *Hello World* application by adding controls to the form.
10096

10197
If you want, select the **Pin** icon to dock the **Toolbox** window.
10298

103-
1. Select the **Button** control and then drag it onto the form.
99+
1. In the **Common Controls** section, select the **Button** control and then drag it onto the form.
104100

105101
:::image type="content" source="media/create-a-visual-basic-winform-in-visual-studio/toolbox-button-form.png" alt-text="Screenshot shows the Button control added to the form.":::
106102

@@ -119,7 +115,7 @@ You create a *Hello World* application by adding controls to the form.
119115
120116
## Add a label and code
121117

122-
After you add a button control to create an action, add a label control to send text to.
118+
After you add a button control to create an action, add a label control to receive the text.
123119

124120
1. Select the **Label** control in the **Toolbox** window, and then drag it onto the form.
125121
Place it beneath the **Click this** button.
@@ -166,4 +162,4 @@ Or try these other tutorials:
166162

167163
- [Visual Basic tutorials](../get-started/visual-basic/index.yml)
168164
- [C# tutorials](../get-started/csharp/index.yml)
169-
- [C++ tutorials](/cpp/get-started/tutorial-console-cpp)
165+
- [C++ tutorial](/cpp/get-started/tutorial-console-cpp)

0 commit comments

Comments
 (0)