INTRODUCTION TO VB.NET PLATFORM First of all, everyone should think about a platform to do a program and how to use a platform to create a project as we are expected? When we wanted to create a project, we have to choose a programming language to do that so, when comes to the VB.NET, there are multiple choices to select a platform such as console-based platform, Windows form-based platform, ASP.NET Web API and many more. In This Tutorial:
Introduction to VB.NET Platform (Windows Form): When comes to do a programming in VB.NET, anyone can choose a platform call Windows Forms App (It depends on the need) which you can be used to create windows(forms) applications. For example, if you want to create a shape of calculator then you need windows forms apps platform to do it. How to get a windows forms app in Visual Studio? Once you opened the Visual Studio => Click Create New Project => Click on the dropdown button of the "All Languages" and Select "Visual Basic" => Click on the dropdown button of the "All Platforms" and Select "Windows" => Click on the dropdown button of the "All Project Types" and Select "Desktop" => Now select the "Windows Forms App" and Click "Next" button => Type a name that you want to keep the project under and leave everything as default => Click "Next" button => Select a Framework (.NET 6) and Click "Create" button. Look at the following screenshots to go on a correct pathway: Once you successfully created the project, now you can see the screen something like the screenshot below: On the above screenshot, you would be able to see at the top Menus, search bar, and minimize, maximize and close buttons. Under the Menus bar is Tools bar. On the left side; Toolbox and its tools all the way to the bottom. At the right-side Solution explorer is at the top and below of it, Properties (Which is for selected object in the middle - the Project area). At the bottom is Status bar and on top of that in the middle is Project Output (Which will tell about the current project status). In the middle (Project Area) is Form in a designing mode.
How to draw an object on the windows form? Click on the tool which you want to get/draw on the form and then to draw on the form, while holding left click of the mouse and track it. Now you can see the tool on your form. So, if you want to get many more different tools on the form, do it in the same way to bring them all on. If you have any question regarding this tutorial, please state all of them in the comments section.
0 Comments
|
Archives |