IDE Visual Basic Uvod Nikola Vlahović.

Slides:



Advertisements
Similar presentations
Developing Windows ® CE Applications With Visual Basic ® Larry Roof tonked
Advertisements

VISUAL BASIC Visual Basic is derived from the Basic language (Beginner’s All-Purpose Symbolic Instruction Code) Visual Basic uses an event-driven programming.
How to get started with Excel VBA. We need to enable programming in Excel  the “Developer menu”
Visual Basic Project Files:.VBP file: Project File: a small text file that contains the names of other files in the project, as well as some information.
Introduction to Computing Dr. Nadeem A Khan. Lecture 11.
Introduction to computers & Visual Basic School of Business Eastern Illinois University © Abdou Illia, Spring 2003 (Week 3, Monday 1/27/2003)
Introduction to Visual Basic What it is, and a simple program Mike Thelwall University of Wolverhampton, UK.
Developing Software Applications Bob Hobbs
Visual Basic.net IDE. Integrated Development Environment.
Tutorial 11 Introduction to Visual Basic zLanguage developed for special-purpose Windows applications – 1991 zUses IDE – Integrated Development Environment.
Chapter 11: Introduction to the Visual Basic Environment Spreadsheet-Based Decision Support Systems Prof. Name Position (123) University.
An Introduction to Visual Basic
Appendices A - F A-F Exploring Microsoft Visual Basic 6.0 Copyright © 1999 Prentice-Hall, Inc. By Carlotta Eaton.
A First Look At Microsoft Visual Basic Lesson 1. What is Microsoft Visual Basic? Microsoft Visual Basic is a software development tool, which means it.
Chapter 2 - More Controls More controls – Text boxes - used for user input – Frames - containers to group items – check boxes - user select an option -
Basic Controls & Properties Chapter 2. Overview u VB-IDE u Basic Controls  Command Button  Label  Text Box  Picture Box u Program Editor  Setting.
Irwin/McGraw-Hill © The McGraw-Hill Companies, Inc., Visual Basic Projects Project Structure and VB’s Programming Tools chapter TWO.
Copyright © 2001 by Wiley. All rights reserved. Chapter 2: Using Visual Basic to Create a First Project Getting Started with VB Development Environment.
§Visual - A method used to create GUI applications. §BASIC - Beginner’s All - purpose Symbolic Instruction Code developed by John Kemeny. §VB- Evolved.
Chapter Two Creating a First Project in Visual Basic.
CC111 Lec7 : Visual Basic 1 Visual Basic(1) Lecture 7.
Essentials of Windows 95/97 Robert Grauer and Maryann Barber.
Microsoft Visual Basic 2005 BASICS Lesson 1 A First Look at Microsoft Visual Basic.
FrontPage program za izradu web stranica
The parts of a Computer Window
Visual Basic Programming Introduction VB is one of the High level language VB has evolved from the BASIC language. BASIC stands for Beginners All-purpose.
Integrated Development Environment Visual Basic IDE Slide 2 of 10 Topic & Structure of the lesson Introduction Integrated Development Environment Tool.
VB Objects & Events (Exercises) School of Business Eastern Illinois University © Abdou Illia, Spring 2003 (Week 3, Friday 1/31/2003)
COMPUTER PROGRAMMING I 3.02 Apply Properties Associated with the Controls.
Graphical User Interfaces Tonga Institute of Higher Education.
CMPF114 Computer Literacy Chapter 3 The Visual Basic Environment 1.
1 Introduction to Visual Basic Dr Mohd Nabil Almunawar MS 3403 Advanced Computing.
BBT 10 Visual Basic 03 Enrichment. Tip Before creating any files for your project, first create a new folder Save all of your files in the folder Pieces.
Copyright © Don Kussee 1120-Ch2 #531 CNS 1120 Chapter 2 Project Structure and Tools 1120-Ch2.PPT.
TOOLBOX. The Toolbox Intrinsic Controls - always included in the Toolbox ActiveX Controls - separate files with ocx file extension Insertable Objects.
COMPUTER PROGRAMMING I 3.01 Apply Controls Associated With Visual Studio Form.
Project Structure and Tools 1120-Ch2.PPT
Object Orientated Programming using C#
Introduction to Computer CC111
Introduction to Computing
Introduction to Computing
1. Introduction to Visual Basic
VB 6.0.
Visual Basic 2010 Osnove VB Uvod u računarstvo.
Programi zasnovani na prozorima
Visual Basic Project Development Environment
Microsoft Access Jedan od programa za upravljanje bazom podataka koji omogućava organizovanje baze podataka i rad sa podacima je Access firme Microsoft.
MODUL 2 Uporaba računala i rukovanje datotekama
Microsoft Word 2010.
Pristup podacima Uvod Nikola Vlahović.
Programiranje u VB Uvod
IDE Visual Basic Uvod Nikola Vlahović.
Programiranje Uvod Nikola Vlahović.
Visual Basic.
Chapter 6 - Visual Basic Schneider
LABORATORIJSKA VEŽBA VEŽBA 4
Podešavanje osobina stranica
Horizontal Centering Using the menu bar
Hello World in Visual Basic
Pristup podacima Izvještaji
Internet FTP usluga.
RAZVRSTAJTE SLIČICE U ODGOVARAJUĆE ĆELIJE!
Visual Basic Project Development Environment
Objektno-orijentirano programiranje
Визуалды бағдарламалау ортасы.
Understanding the Integrated Development Environment
predavanja v.as.mr. Samir Lemeš
Chapter 4 Enhancing the Graphical User Interface
Introduction to Visual Basic 2010
Chapter 4 Enhancing the Graphical User Interface
Presentation transcript:

IDE Visual Basic Uvod Nikola Vlahović

Agenda Osnovna obilježja radnog okruženja (eng. IDE) Visual Basica Elementi programskog projekta Osnovni objekti Metode, svojstva i događaji objekata VB pomoć Sažetak

Osnovni prozor VBa

Osnovni prozor VBa sistemski prozor VB okruženja File  Otvaranje projekta

Osnovni prozor VBa sistemski prozor VB okruženja File  Otvaranje projekta File  Make EXE Project  References, Components Debug  Step Into, Step Over Run  Start, Pause, Restart, End Tools  Menu Editor…

Osnovni prozor VBa prozor za kreiranje korisničkog sučelja containers nazivanje objekata

Osnovni prozor VBa traka s alatima Pointer -  Picture box (pic) - za prikaz standardnih slikovnih formata Label (lbl) - za ispis teksta korisniku aplikacije Text box (txt) - za ispis teksta koji korisnik može urediti Frame (fra) - container, za urednije korisničko sučelje Command Button (cmd) - dugme za pokretanje naredbi

Osnovni prozor VBa traka s alatima Check box (chk) - aktivacija opcije Option button (opt) - odabir opcije Combo box (cbo) - padajući izbornik List box (lst) – lista za višestruki odabir Horizontal scroll bar (hsb) – traka za vertikalni pregled elementa (forme, ekrana) Vertical scroll bar (vsb) – traka za horizontalni pregled elementa (forme, ekrana) Timer (tmr) – za odbrojavanje

Osnovni prozor VBa traka s alatima Drive list box (drv) – lista priključenih medija za pohranu podataka Folder list box (fil) – lista mapa na trenutnom mediju za pohranu podataka Shape (shp) – grafički oblici Line (lin) – grafički element crte Image (img) – grafički element slike Data (dat) – izvor podataka za elemente na formi OLE (ole) – poveznica prema objektima windows okruženja te za razmjenu podataka

Osnovni prozor VBa Projektni prozor Prikaz svih objekata i pripadajućih datoteka koji čine jedan programski projekt

Osnovni prozor VBa prozor za svojstva objekata Prikaz i izmjena svojstava odabranog objekta Objašnjenja pojedinih svojstava

Zadatak 1 Izrada prve aplikacije Koraci u izradi aplikacija: Hello, Visual Basic! Koraci u izradi aplikacija: Izrada sučelja Postavljanje vrijednosti svojstava Upis programskog kôda Testirajte program!

Metode, svojstva i događaji objekata Metode – radnje koje objekt vrši frmGlavna.show, frmGlavna.hide cmdOK.move 10, 10 Svojstva – obilježja objekta Design-time: frmForm1.Name = “frmGlavna” Run-time txtPoruka.Text = “Novi tekst” cmdOK.Value = True

Metode, svojstva i događaji objekata Događaji – stanja okoline, susjednih objekata ili samog objekta koja pokreću definirane procedure objekta cmdOK_click () [procedura za zatvaranje forme] cmdOK_mouseOver () [posvijetli boju teksta na dugmetu] cmdOK_mouseOut () [vrati polaznu boju teksta na dugmetu]

Zadatak 2 Izrada aplikacije Kontrole Semafor (command button, grafički elementi i događaji) Rad s tekstom u obliku objekata Label i Text box Oblikovanje teksta pomoću aktivacije opcija

Napomene uz Z2 Razlika između Picture box i Image Prečaci za komande (&Start, S&top) Razlika text box i Label Razlika check box i option box

IDE Visual Basic Uvod Nikola Vlahović