1b – inside visual studio lingma acheson department of computer and information science, iupui...
TRANSCRIPT
![Page 1: 1b – Inside Visual Studio Lingma Acheson Department of Computer and Information Science, IUPUI CSCI N331 VB.NET Programming](https://reader036.vdocument.in/reader036/viewer/2022081821/56649dbe5503460f94ab2181/html5/thumbnails/1.jpg)
1b – Inside Visual Studio
Lingma AchesonDepartment of Computer and Information Science, IUPUI
CSCI N331 VB .NET Programming
![Page 2: 1b – Inside Visual Studio Lingma Acheson Department of Computer and Information Science, IUPUI CSCI N331 VB.NET Programming](https://reader036.vdocument.in/reader036/viewer/2022081821/56649dbe5503460f94ab2181/html5/thumbnails/2.jpg)
Purpose• Be more familiar with the Visual
Studio interface• Know how to use some of the tools• Know how to run a project
![Page 3: 1b – Inside Visual Studio Lingma Acheson Department of Computer and Information Science, IUPUI CSCI N331 VB.NET Programming](https://reader036.vdocument.in/reader036/viewer/2022081821/56649dbe5503460f94ab2181/html5/thumbnails/3.jpg)
Layout• Download and unzip the project
“Welcome”• Open the project by double clicking
on the solution file.• Double click on the “Welcome.vb”• Layout
– Menu bars on the top– Tool bars under the menu bar– Toolbox on the left hand side– Solution Explorer and Properties on the right
hand side– Form Window in the middle
![Page 4: 1b – Inside Visual Studio Lingma Acheson Department of Computer and Information Science, IUPUI CSCI N331 VB.NET Programming](https://reader036.vdocument.in/reader036/viewer/2022081821/56649dbe5503460f94ab2181/html5/thumbnails/4.jpg)
Layout• Toolbox on the left hand side
– Add items to the Form– All Windows Forms
• Solution Explorer on the right hand side– Manage forms and files used for the project– Right click on the project name →Properties
→ Compile → set both “Option explicit” and “Option strict” to On
• Save the project (* means the file is not saved)
![Page 5: 1b – Inside Visual Studio Lingma Acheson Department of Computer and Information Science, IUPUI CSCI N331 VB.NET Programming](https://reader036.vdocument.in/reader036/viewer/2022081821/56649dbe5503460f94ab2181/html5/thumbnails/5.jpg)
Layout• Properties
– Form properties: Name, Size, Background Color, …
– Label properties: Name, Text, Background Color, …
– Picture properties: Name, Image, Size, …
![Page 6: 1b – Inside Visual Studio Lingma Acheson Department of Computer and Information Science, IUPUI CSCI N331 VB.NET Programming](https://reader036.vdocument.in/reader036/viewer/2022081821/56649dbe5503460f94ab2181/html5/thumbnails/6.jpg)
Run the Project• Build → Build projectName• Run the project: Three options
– Debug → Start Debugging– F5– Click on the green triangle button on the tool
bar