KUPOVINA ONLINE.

Slides:



Advertisements
Similar presentations
The Important Thing About By. The Important Thing About ******** The important thing about ***** is *****. It is true s/he can *****, *****, and *****.
Advertisements

Chapter 6 - VB 2005 by Schneider1 Do Loop Syntax Do While condition statement(s) Loop Condition is tested, If it is True, the loop is run. If it is False,
Control Arrays. All the components in the Visual Basic toolbox are referred to as controls A control array is a group of controls of the same type that.
Val Function A Function performs an action and returns a value The expression to operate upon, known as the argument, (or multiple arguments), must be.
ActiveX Data Object ISYS 562. ADO An ActiveX control ActiveX is build upon COM, a contract that defines a standard interface by which objects communicate.
Flowchart Start Input weight and height
VBA Data Access Object. Data Access Objects DAO With DAO we can: –Run queries –Update values in database tables –Create structure of databases Tables,
VB Default Controls List Box, Combo Box
VB Controls and Events Week 7: Picture Box, Image Box, Option, Check box, Mouse over, Frames, Shapes.
Customizing Menus and Toolbars. Manipulating Command Bars Customize: –Right-click any place on a command bar and cick Customize … Customize window: –Toolbars,
Promoting Code Reuse Often in programming, multiple procedures will perform the same operation IN OTHER WORDS – the same piece of code will do the same.
Lec4 P 1 CP2030 Visual Basic For C++ Programmers Copyright © University of Wolverhampton CP2030 VBFC Lecture 4 Back To Index v Iteration - Looping v Arrays.
Slide 1 VB Default Controls Text Box, Check Box, Option Button & Frames.
Muffin Shop - if, calculations etc. (muffins, muffins2) Please use speaker notes for additional information!
Visual Basic Examples.
Chapter 9 IF Statement Bernard Chen. If Statement The main statement used for selecting from alternative actions based on test results It’s the primary.
Visual Basic Fundamental Concepts. Integrated Development Enviroment Generates startup form for new project on which to place controls. Features toolbox.
Multimedia ! Graphics ! Animation ! Sound Tip Of the Day 4 Tip of the Day: When using graphic methods at Form Load, the AutoRedraw property of the container.
InvEasy (Project1) Please use speaker notes for additional information!
Chapter 7 Code Tables. VB Code Box 7-1 Event Procedure for Compute Button Private Sub hsbExemptions_Change() txtExemptions.Text =Str(hsbExemptions.Value)
Mouse Events. Mouse Driven Events Unlike control_click() which is passed no arguments (unless it's an index for an array), MouseDown, MouseUp and MouseMove.
ENGR 112 Decision Structures.
 Application – another name for a program.  Interface – is what appears on the screen when the application is running.  Program Code – is instructions.
Visual Basic CODE. Basics of Code Declaration Declaration Set aside a named place to put things Set aside a named place to put things Assignment Assignment.
Arrays Code: Arrays Controls: Control Arrays, PictureBox, Timer.
Developing a solution A staged design process. Initial requirements Car Hire business Three types of car Small, medium, large Different rates – hire,
CS285 Visual Basic 2 Department of Computing UniS 1 Statements in Visual Basic A statement is the fundamental syntactical element of a program smallest.
Arrays1 From time to time an object (a variable, a picture, a label or a command) does not serve as well as a set of objects of a similar kind addressed.
$100 $200 $300 $400 $500 $100 $200 $300 $400 $500 $100 $200 $300 $400 $500 $100 $200 $300 $400 $500 $100 $200 $300 $400 $500 $100 $200 $300.
The PC GadgetMaster II Stepper Motor Control Developed by Frank Shapleigh Edited by Jim Tuff.
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.
Two Forms Please use speaker notes for additional information!
LOAN APPLICATION Income High Medium Low Employment References Employed Unemployed Good Bad Education High Low High Low Grant Investigate Further Investigate.
Pay Example (PFirst98) Please use speaker notes for additional information!
CONTROL STATEMENTS. A conditional expression uses a comparison operator which results in true or false value. If the comparision is valid it results in.
Scrollbar1 The Scrollbar A final tool in the toolbox is the scrollbar. There are two of them, one ordered horizontally and the other vertically, both do.
Word Processor Version.01 EME 4411 Week 5. The Scroll Bars.
Visual Basic Review LBS 126. VB programming Project Form 1Form 2Form 3 Text boxButton Picture box Objects Text box Button Objects.
Sum of Arithmetic Sequences. Definitions Sequence Series.
Loop and repetition. Today Passing values to and back from Sub procedures Option Buttons Do While Loops For Loops Population Growth.
Basic GUI VISUAL BASIC. BASIC GUI Slide 2 of 53 Topic & Structure of the lesson Introduction Data Validation Use controls for making choices Write Pull.
CheckBox i Option Button. Private Sub Command1_Click() Check1 = 1 If Check1 = 1 Then Text1.FontBold = True Else Text1.FontBold = False End If Check2 =
Two-Dimensional Arrays. Two-dimensional arrays variables store the contents of tables or matrices. Example: Dim arrTable(1 to 5, 1 to 5) As Integer first.
1 Dynamic Arrays ListBoxes, Dynamic Arrays, Dynamic Control Arrays ListBoxes are on pp and dynamic arrays are in Chapter 7 of Deitel, Deitel and.
1 VB-04-Control Structures 16 March 2016 Visual Basic Control Structures - Selection.
Image from
1 By Dr. HANY ELSALAMONY. 1. What are differences between interpreted and compiled languages? 2. What are the programming steps to creating the Visual.
Visual Basic Database Programming.
Standard Controls.
Event Driven Programming
TOPIK KHAS : PENGGUNAAN VB DENGAN PERISIAN MICROSOFT YANG LAIN (VBA)
[0] [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [13]
TOPIK KHAS : PENGGUNAAN VB DENGAN PERISIAN MICROSOFT YANG LAIN (VBA)
Department Array in Visual Basic
زراعت عمومی بر اساس کتاب زراعت عمومی مولف: کمال سادات اسمعیلان
True or False: Suppose the graph of f is given
IF Statements.
Visual Basic – Decision Statements
Visual Basic: Week 5 Review User defined functions
True or False: {image} is one-to-one function.
SRETNA SEDMICA.
SRETNA SEDMICA.
CheckBox i Option Button
Data Types List Box Combo Box Checkbox Option Box Visual Basic 6.0
Find the reference angle for the angle measuring {image}
KUPOVINA ONLINE.
Active-X Calendar Control
OptionButton, CheckBox компоненттері
Inequalities TRUE FALSE.
Presentation transcript:

KUPOVINA ONLINE

Otvaranje Forme Private Sub Form_Load() Image1.Picture = LoadPicture("c:\lekcija\pcomputr.wmf") List1.AddItem "Dodatni hard disk" List1.AddItem "Stampac“ List1.AddItem "Skener" Combo1.AddItem "U.S. Dolar" Combo1.AddItem "Cek" Combo1.AddItem "Engleska funta“ End Sub

IZBOR KOMPJUTERA Private Sub Option1_Click(Index As Integer) Select Case Index Case 0 Image1.Picture = LoadPicture("c:\lekcija\pcomputr.wmf") Case 1 Image1.Picture = LoadPicture("c:\lekcija\computer.wmf") Case 2 Image1.Picture = LoadPicture("c:\lekcija\laptop1.wmf") End Select End Sub

IZBOR KANCELARIJSKE OPREME Private Sub Check1_Click() If Check1.Value = 1 Then Image2.Picture = LoadPicture("c:\lekcija\answmach.wmf") Image2.Visible = True Else Image2.Visible = False End If End Sub

Private Sub Check2_Click() If Check2.Value = 1 Then Image4.Picture = LoadPicture("c:\lekcija\calcultr.wmf") Image4.Visible = True Else Image4.Visible = False End If End Sub

Private Sub Check3_Click() If Check3.Value = 1 Then Image6.Picture=LoadPicture("c:\lekcija\copymach.wmf") Image6.Visible = True Else Image6.Visible = False End If End Sub

IZBOR DODATNE OPREME Private Sub List1_Click() Select Case List1.ListIndex Case 0 Image3.Picture = LoadPicture("c:\lekcija\harddisk.wmf") Case 1 Image3.Picture = LoadPicture("c:\lekcija\printer.wmf") Case 2 Image3.Picture = LoadPicture("c:\lekcija\satedish.wmf") End Select Image3.Visible = True End Sub

NAČIN PLAĆANJA Private Sub Combo1_Click() Select Case Combo1.ListIndex Image5.Picture = LoadPicture("C:\Users\Jasna\Desktop\lekcija\dollar.wmf") Case 1 Image5.Picture = LoadPicture("c:\lekcija\check.wmf") Case 2 Image5.Picture =LoadPicture("c:\lekcija\poundbag.wmf") End Select Image5.Visible = True End Sub

IZLAZ Private Sub Command1_Click() End End Sub

Osobinu objekta image Stretch mora biti True Option Button mora se kopirati