Skip to main content

Visual Basic . Net #1

Visual Basic.NET #1

This post I will mention some basic things about Visual Basic.NET

What is Visual Basic?

Visual Basic.NET (VB.NET) is a multi-paradigm, high-level programming language, implemented on the .NET Framework. Microsoft launched VB.NET in 2002 as the successor to its original Visual Basic language. Although the ".NET" portion was dropped in 2005, this article uses "Visual Basic.NET" to refer to all Visual Basic languages releases since 2002, in order to distinguish between them and the classic Visual Basic. Along with Visual C#, it is one of the two main languages targeting the .NET framework. ( From Wikipedia  )

 Integrated development environment (IDE)

Integrated development environment (IDE) is a programming environment that has been packaged as an application program, typically consisting of a code editor, a compiler, a debugger, and a graphical user interface (GUI) builder. The IDE may be a standalone application or may be included as part of one or more existing and compatible applications. in our case, Visual Studio is our IDE 

We will make GUI program what is GUI ?

Graphical user interface (GUI) : 

In computer science, a graphical user interface or GUI, pronounced /ˈɡuːi/ ("gooey")[1] is a type of interface that allows users to interact with electronic devices through graphical icons and visual indicators such as secondary notation, as opposed to text-based interfaces, typed command labels or text navigation. GUIs were introduced in reaction to the perceived steep learning curve of command-line interfaces (CLIs), which require commands to be typed on the keyboard. ( From Wikipedia   ) 

Controls

what is the Controls ? 
Controls are all objects in the Project such as
  • Button
  • Textbox
  • Label
  • Combobox
  • Listbox
  • Radiobutton
  • Checkbox
  • Picturebox
  • Progressbar
  • Scrollbar
  • etc .............................
Controls have properties that determine it's behavior such as      Button Color , Name , Text ... etc

Events are what happens when an object does something. such  as  click in the button 


Comments

Popular posts from this blog

Visual Basic ( Catch Me ) Introduction

Hello guys, Welcome back to Visual Basic Tutorial ( GAME ) Catch me: - It is a simple game that a Picture will appear Random in the Windows Form and the player (user) will try to click on it by mouse that all We have lot of version to Catch me so I will make a list for them 1. Catch me Version 1.0.0  Features : User will play in 800*600 window state  User will play it without any effects The result will not be saved 2. Catch me Version 2.0.0  Features : User will play  in Full Screen When User will press in the picture ( Target ) the black color will be green the back to Default The result will  be saved as long as the game is opened 3. Catch me Version 3.0.0  Features : User will play  in Full Screen User will choose the level of game ( Insane - Extreme - Hard - Normal - Easy - Baby Level ) The result will be saved in Database with Names ------------------------------------------------- Notice The title Catch Me Version X.X.X will be

Catch Me Version 1.0.0

Hello guys, Welcome to the first version of Catch me ( Visual Basic Game read Introduction ) Ok, Let's Start Open Visual Studio 2012 and Open new project 1. Program Design Stage Let's add the tools 1 PictureBox, 2 Button, 2 Label, 1 Timer In Picturebox1 My Image Choose any picture in my case I will choose this image  Make Visible Property = False Resize it as you like I will make it (150,150) Don't forget to Change SizeMode to StretchImage Button1, Button2 In One of the 2 Button make it's Text property to Quit and the another make it Start Label1 In Label1 change the Text to your Description  Label2 In Label2, Change the Text to "Time: 60s" without quotation  put in the middle Bottom of the Form and 60s is the game time Timer1 Change the Interval This is the game Time Form1 Change FormBorderStyle to None Change the Size to 800,600 Change StartPostion to Centre of the Screen Ok Your Window Should be like th

How to change PC resolution with VB.NET

Ok, Hi guys, After very long time I back with a surprise a code to change resolution of PC with VB.NET just copy this and past it and Call it with ChangeRes( 1024 , 768 , 32 ) The CODE  function generate() { Public Class Form1 ' change resolution Constants, Types and Declares ' Using this option to shutdown windows does not send ' the WM_QUERYENDSESSION and WM_ENDSESSION messages to ' the open applications. Thus, those apps may loose ' any unsaved data. ' Const EWX_FORCE As Short = 4 Const CCDEVICENAME As Short = 32 Const CCFORMNAME As Short = 32 Const DM_BITSPERPEL As Integer = &H40000 Const DM_PELSWIDTH As Integer = &H80000 Const DM_PELSHEIGHT As Integer = &H100000 Const CDS_UPDATEREGISTRY As Short = &H1S Const CDS_TEST As Short = &H2S Const CDS_FULLSCREEN As Short = &H4S Const DISP_CHANGE_SUCCESSFUL As Short = 0 Const DISP_CHANGE_RESTART As Short = 1