Visual Basic 6 Lecture 7. The List Box:
|
|
- Jason Williams
- 5 years ago
- Views:
Transcription
1 The List Box: The function of the List Box is to present a list of items where the user can click and select the items from the list or we can use the List Box control as a simple memory to save data. In order to add items to the list, we can use the AddItem method. The items in the list box can be identified by the ListIndex property, the value of the ListIndex for the first item is 0, the second item has a ListIndex 1 and so on. Example1: 1
2 Command1: Private Sub Command1_Click() List1.AddItem Text1.Text Text1.Text = "" Means copy anything in the Text1 into List1 then after coping clear Text1 Command2: Private Sub Command2_Click() If List1.ListIndex > -1 Then List1.RemoveItem List1.ListIndex Means ListIndex start from 0, the condition must start before 0 Command3: Private Sub Command3_Click() List1.Clear RUN Click on Add text to add items. To remove any item we must select this item first then remove it. 2
3 Example2: Write a program in VB6 including one Textbox, one Listbox and one Command, showing that when inputting four colors names from Textbox to the Listbox and select any color name in the Listbox then the Form background color will change. Solution: Command1: Private Sub Command1_Click() List1.AddItem Text1.Text Text1.Text = "" List1: Private Sub List1_Click() If List1.Text = "Red" Then Form1.BackColor = vbred If List1.Text = "Green" Then Form1.BackColor = vbgreen 3
4 If List1.Text = "Blue" Then Form1.BackColor = vbblue If List1.Text = "Magenta" Then Form1.BackColor = vbmagenta لون ا رجواني The Combo Box: The function of the Combo Box is also to present a list of items where the user can click and select the items from the list. The user needs to click on the small arrowhead on the right of the combo box to see the items which are presented in a drop-down list. In order to add items to the list. Example3: 4
5 Command1: Private Sub Command1_Click() Combo1.AddItem Text1.Text Text1.Text = "" Command2: Private Sub Command2_Click() If Combo1.ListIndex > -1 Then Combo1.RemoveItem Combo1.ListIndex Same as ListBox You can change the size of ComboBox when you change the Font of ComboBox 5
6 Example4: design a program reading Student Name in a TextBox, Gender in a ComboBox, Age in a ComboBox, Department in a ListBox and print the output in a TextBox with red color font. Solution: 6
7 Form1: Private Sub Form_Load() Combo1.AddItem "Male" Combo1.AddItem "Female" Combo2.AddItem "19" Combo2.AddItem "20" Combo2.AddItem "21" Combo2.AddItem "22" List1.AddItem "Metal" List1.AddItem "Non Metal" Command1: Private Sub Command1_Click() Text2.Text = Text1.Text + " " + Combo1.Text + " " + Combo2.Text + " " + List1.Text 7
8 The Timer: The Timer control allows you to perform a task at a specified interval or to wait for a specified length of time. Consider the following facts about the Timer control: 1. It is not visible to the user at Run-time 2. The actions that you want to happen at the specified interval are coded in the Timer's Timer event if there is no Command Button for these actions. 3. The interval value is specified in milliseconds (1000 milliseconds = 1 second). Timer properties mostly used: 1. Enabled: Used to turn the timer on and off. When on (True), it continues to operate until the Enabled property is set to (False). 2. Interval: To act or repeat the code depending on the number of milliseconds between each invocation of the Timer Event. It takes an integer values ( ) milliseconds. 8
9 Example5: Design A program to make your first name flashing in a Label. Solution: Form1: Private Sub Form_Load( ) Timer1.Interval = 1000 The Interval mostly written in the (Form_Load) Timer1: The event must be written in the (Timer) Private Sub Timer1_Timer( ) Label1.Visible = Not (Label1.Visible) End Sub (Not) means that (Label) will be Visible and Non Visible respectively. 9
10 Example6: Repeat example5 with your full name. each name flash alone. Solution: Form1: Private Sub Form_Load( ) Timer1.Interval = 1000 Timer2.Interval = 1020 Timer3.Interval = 1040 Timer1: Private Sub Timer1_Timer( ) Label1.Visible = Not (Label1.Visible) End Sub Timer2: Private Sub Timer2_Timer( ) Label2.Visible = Not (Label2.Visible) 1
11 Timer3: Private Sub Timer3_Timer( ) Label3.Visible = Not (Label3.Visible) Example7: design a simple Count-Down display in a label, with STOP and Continue Buttons. Solution: Dim a As Integer Stop Button Command1: Private Sub Command1_Click( ) Timer1.Enabled = False Continue Button Command2: Private Sub Command2_Click( ) Timer1.Enabled = True 10
12 Form1: Private Sub Form_Load() a = 10 Timer1.Interval = 1000 Timer1: Private Sub Timer1_Timer() a = a - 1 Label1.Caption = a If a = 0 Then Timer1.Enabled = False Assumption Means (a) will decrease second by second. Questions: 1. Design a simple Count-Up display in a label, with STOP and Continue Buttons. 2. Design a program to display your full name (1 st name, 2 nd name and 3 rd name) respectively every two seconds. 3. Write a program to change the Form background color sequentially using RGB method, set the Timer = 500. H.W 1. Design a Stopwatch (Minutes, Seconds and parts of seconds) using VB6, including Commands (Start, Stop, Continue and Reset) 11
The Control Properties
The Control Properties Figure Before writing an event procedure for the control to response to a user's input, you have to set certain properties for the control to determine its appearance and how it
More informationNATIONAL DIPLOMA IN COMPUTER TECHNOLOGY
UNESCO-NIGERIA TECHNICAL & VOCATIONAL EDUCATION REVITALISATION PROJECT-PHASE II NATIONAL DIPLOMA IN COMPUTER TECHNOLOGY OOBASIC/VISUAL BASIC PROGRAMMING COURSE CODE: COM 211 YEAR I SEMESTER II PRACTICAL
More informationLecture Using ListBox and ComboBox Controls In Visual Basic 6: list box
Lecture 10+11+12 7- Using ListBox and ComboBox Controls In 6: list box A list box displays a list of items from which the user can select one or more items. If the number of items exceeds the number that
More informationProgramming with visual Basic:
Programming with visual Basic: 1-Introdution to Visual Basics 2-Forms and Control tools. 3-Project explorer, properties and events. 4-make project, save it and its applications. 5- Files projects and exercises.
More information2Practicals Visual Basic 6.0
2Practicals Visual Basic 6.0 Practical 1: 1. Navigation of Visual Basic Integrated Development Environment The Visual Basic IDE is made up of a number of components Menu Bar Tool Bar Project Explorer Properties
More informationUniversity of Technology Laser & Optoelectronics Engineering Department Visual basic Lab. List of items
List of items ListBox Control Properties List object.list(index) [= string] List1.List(0) List1.List(1) list ItemData list AddItem list NewIndex List1.AddItem "Judy Phelps" List1.ItemData(List1.NewIndex)
More informationTech-Talk Using the PATROL Agent COM Server August 1999 Authored By: Eric Anderson
Tech-Talk Using the PATROL Agent COM Server August 1999 Authored By: Eric Anderson Introduction Among the many new features of PATROL version 3.3, is support for Microsoft s Component Object Model (COM).
More informationVB komande. Programiranje 1
VB komande Programiranje 1 Zadatak 1: Sastaviti program koji se sastoji iz jedne ListBox kontrole, jedne Textbox kontrole i dva komandna dugmeta. Klikom na prvo komandno dugme umeće se u ListBox sadržaj
More informationControl Properties. Example: Program to change background color
Control Properties Before writing an event procedure for the control to response to an event, you have to set certain properties for the control to determine its appearance and how will it work with the
More informationType Storage Range of Values
University of Misan College of Engineering Department of Civil Engineering Course Title: Visual Basic Second Stage Fourth Lecture Visual Basic Data There are many types of data that we come across in our
More informationVisual Basic Tutorial (Lesson 2)
Visual Basic Tutorial (Lesson 2) Hopefully you will learn this during lesson 2. : Know what an Event is. Determine what Events a control can have Write code for one or more Events. Using optionbuttons
More informationAngel International School - Manipay 1 st Term Examination November, 2015
Grade 10 Angel International School - Manipay 1 st Term Examination November, 2015 Information & Communication Technology Duration: 3.00 Hours Part 1 Choose the appropriate answer 1) Find the correct type
More informationHELP - VB TIPS. ANIMATE AN IMAGE BOX Insert a module. In this module, create a global variable: Global x
HELP - VB TIPS Load an image to an image box from a certain folder If you use this method, won t work on N:\ To load an image to a image control Image1.Picture = LoadPicture("H:\MyVBfolder\stop.gif") Load
More informationData Acquisition over Ethernet using Serial Device Server - NPort 5210 PRL-TN
Data Acquisition over Ethernet using Serial Device Server - NPort 5210 PRL-TN-2010-96 Data Acquisition over Ethernet using Serial Device Server - NPort 5210 PRL-TN-2010-96 Introduction 1 Serial Device
More informationAn InputBox( ) function will display an input Box window where the user can enter a value or a text. The format is
InputBox( ) Function An InputBox( ) function will display an input Box window where the user can enter a value or a text. The format is A = InputBox ( Question or Phrase, Window Title, ) Example1: Integer:
More informationExperiment No. 2. Program:
Index 1. C++ program to perform bubble sort. 2. C++ program with class ratio and assign(),convert(),invert(),print() functions. 3. C++ program with circle class using default constructor. 4. C++ program
More informationAngel International School - Manipay 1 st Term Examination November, 2015
Angel International School - Manipay 1 st Term Examination November, 2015 Information & Communication Technology Grade 11A & C Duration: 3.00 Hours Part 1 Choose the most appropriate answer. 1) Find the
More informationSYLLABUS B.Com (Computer) VI SEM Subject Visual Basic Unit I
SYLLABUS B.Com (Computer) VI SEM Subject Visual Basic Unit I UNIT I UNIT II UNIT III UNIT IV UNIT V Introduction to Visual Basic: Introduction Graphics User Interface (GUI), Programming Language (Procedural,
More informationPROGRAM 1: SIMPLE CALCULATOR
PROGRAM 1: SIMPLE CALCULATOR Option Explicit Dim operand1 As Double, operand2 As Double Dim op1 As Double, op2 As Double Dim operator As String Dim cleardisplay As Boolean Private Sub Cmdclear_Click()
More informationISA PCI Peripherals Connect Interface ISA. Enhanced Parallel Port EPP
) ( 205 2003 4 ISA PCI Peripherals Connect Interface ISA Enhanced Parallel Port EPP IEEE 1284 1994 Intel Xircom Zenith 4-bit Nibble Mode EPP Enhanced Parallel Port ECP Extended Capabilities Parallel bi-direction
More informationChapter 1. Block Diagram. Text .. 1
Chapter 1 ก Visual Basic Scilab ก ก Visual Basic Scilab ก ก (Temporary File) ก ก ก ก ก ก Visual Basic ก (Interface) ก Scilab Text File ก Visual Basic ก ก ก ก Block Diagram ก ก Visual Basic ก Scilab ก.sce
More informationVisual Basic. The Integrated Development Environment. Menu Bar
Visual Basic Visual Basic is initiated by using the Programs option > Microsoft Visual Basic 6.0 > Visual Basic 6.0. Clicking the Visual Basic icon, we can view a copyright screen enlisting the details
More informationContents Introduction Getting Started Visual Basic Form Configuration Entering the VB Code
Your comments and suggestions on the operation of this software are welcome. Please address them to: ICONICS 100 Foxborough Blvd. Foxborough, MA 02035 Tel: 508-543-8600 Fax: 508-543-1503 E-mail: support@iconics.com
More informationOn Railway Reservation. U G D C A Semester VI. Roll No DA
On Railway Reservation U G D C A Semester VI Submitted to: Dr. P. K. Sen (Co-ordinator) Submitted By: (Name of Student) Roll No. 14836DA Contents 1. Acknowledgement 2. Objectives 3. Declaration 4. Analysis
More informationLAMPIRAN. Universitas Sumatera Utara
61 LAMPIRAN 61 Listing Program Form 1 ( Barang ) Dim CnSuzuya As ADODB.Connection Dim CommBar As ADODB.Command Dim rsbar As ADODB.Recordset Dim StrSql As String Dim psn As Byte Private Sub Form_Load()
More informationLAMPIRAN FORM 1 Universitas Sumatera Universitas Utara
LAMPIRAN FORM 1 Private Sub Text2_KeyPress(KeyAscii As Integer) If KeyAscii = vbkeyreturn Then Set tbladministrator = New ADODB.Recordset With tbladministrator.open "SELECT * FROM Administrator WHERE userid
More informationAdvanced Visual Basic
Lab Excercises and Solutions Advanced Visual Basic LAB EXERCISES AND SOLUTIONS Ex1 - TextBoxDemo Create a standard exe Open a new form and change the name of the form as example & change the caption as
More informationStart Visual Basic. Session 1. The User Interface Form (I/II) The Visual Basic Programming Environment. The Tool Box (I/II)
Session 1 Start Visual Basic Use the Visual Basic programming environment Understand Essential Visual Basic menu commands and programming procedure Change Property setting Use Online Help and Exit Visual
More informationVisual Basic , ,. Caption Hello, On Off. * + +, -. 1-Arrow, , 2- Cross. - project1.vbp, 4-form1.frm.
Visual Basic 6.0 1.,. Caption Hello, On Off. * + +, -. 1-Arrow, + - 4 +, 2- Cross. - project1.vbp, 4-form1.frm...!"# 2/59 3...
More informationVisual Basic Visual Basic
9-1 9-2 9-1.1 9-1.2 9-1.3 9-2.1 9-2.2 9-2.3 9-3 Visual Basic 9-3.1 Visual Basic 9-3.2 9-4 9-4.1 9-4.2 2 II 9-1 GoTo http://noi.stinfo.net/ xbqj/xbqj_12.htm structured programming 9-1 9-1 a goto b c goto
More informationLISTING PROGRAM. 1. Menu Utama
LISTING PROGRAM 1. Menu Utama Dim rsupdate As Recordset Dim rscari As Recordset Dim strusername As String * 10 Dim Status As String * 1 Dim JumUser As Integer Public system_mon As String Public service_mon
More informationUnitSales Array Product Number Sales Region
IS 320 Aut 96 Page 1 1. (10) Assume you have a list box named List1, which has its Multiselect property set to 2 - Extended. Write a click event procedure for this list box that deletes the selected items
More informationต วอย างการสร างฟอร ม เมน การใช งาน
ต วอย างการสร างฟอร ม เมน การใช งาน Option Explicit Dim conn As New ADODB.Connection Dim rs As New ADODB.Recordset Dim Sql As String Private Sub Command6_Click() Form2.Hide Form3.Show Private Sub Command7_Click()
More informationMr.Khaled Anwar ( )
The Rnd() function generates random numbers. Every time Rnd() is executed, it returns a different random fraction (greater than or equal to 0 and less than 1). If you end execution and run the program
More informationRelational Operators. > greater than < less than >= greater than or equal to <= less than or equal to <> not equal to = equal to
Relational Operators > greater than < less than >= greater than or equal to
More informationVisual Basic ,
Visual Basic 6.0..!"# !"# $#%$$"& ( ( 6.0) 2 $, -&, - 1.,. Caption Hello, On O ff. * + +, -. 1-Arrow, + - 4 +, 2- Cross. - project1.vbp, 4-form1.frm. 2/59 !"# $#%$$"& ( ( 6.0) 3 $, -&, - 3/59 !"# $#%$$"&
More informationVisual Basic 1
Visual Basic 1 www.ashagroup.org fiz; fo kffkz;ksa] ;s uksv~l vki lcdh lgk;rk ds fy, cuk;s x;s gsaa ;s uksv~l ljy Hkk kk esa cuk;s x;s gsaa bu uksv~l dks i
More informationFunction: function procedures and sub procedures share the same characteristics, with
Function: function procedures and sub procedures share the same characteristics, with one important difference- function procedures return a value (e.g., give a value back) to the caller, whereas sub procedures
More informationNIDEK AUTO REFRACTOMETER ARK-710A INTERFACE MANUAL
NIDEK AUTO REFRACTOMETER ARK-710A INTERFACE MANUAL MRK4D*RTZ001B/E TOTAL PAGE: 32 2005. 2. 8 NIDEK CO., LTD. : 34-14, Maehama, Hiroishi-cho, Gamagori, Aichi 443-0038, Japan (Manufacturer) Telephone: (0533)
More information(0,0) (600, 400) CS109. PictureBox and Timer Controls
CS109 PictureBox and Timer Controls Let s take a little diversion and discuss how to draw some simple graphics. Graphics are not covered in the book, so you ll have to use these notes (or the built-in
More informationRemainder Cordial Labeling of Graphs
Journal of Algorithms and Computation journal homepage: http://jac.ut.ac.ir Remainder Cordial Labeling of Graphs R. Ponraj 1, K. Annathurai and R. Kala 3 1 Department of Mathematics, Sri Paramakalyani
More informationL A M P I R A N. Universitas Sumatera Utara
L A M P I R A N Form 1 '====================================================== 'SUHU FLUIDA : ' Suhu 10 C Const a1 = 0.9998 Const B1 = 1.307 Const C1 = 0.01251 ' Suhu 20 C Const a2 = 0.9983 Const B2 =
More informationVisual Basic ,
Visual Basic 6.0 1.,. Caption Hello, On O ff. * + +, -. 1-Arrow, + - 4 +, 2- Cross. - project1.vbp, 4-form1.frm...!"# 2/59 3...
More informationUpgrading Applications
C0561587x.fm Page 77 Thursday, November 15, 2001 2:37 PM Part II Upgrading Applications 5 Your First Upgrade 79 6 Common Tasks in Visual Basic.NET 101 7 Upgrading Wizard Ins and Outs 117 8 Errors, Warnings,
More informationLab Manual Visual Basic 6.0
Lab Manual Visual Basic 6.0 What is Visual Basic? VISUAL BASIC is a high level programming language evolved from the earlier DOS version called BASIC. BASIC means Beginners' All-purpose Symbolic Instruction
More informationThe ActiveX Interface of Facon Communication Server
The ActiveX Interface of Facon Communication Server (Doc.V1.0 05/13/2003) Methods OpenProject SaveProject Connect Disconnect AddGroup EditGroup DeleteGroup AddItem DeleteItem GetItem SetItem Description
More informationCOMPUTER SCIENCE-I PRACTICALS EXP-1 Aim: Write a function in C++ that exchanges data (passing by reference) using swap function to interchange the
COMPUTER SCIENCE-I PRACTICALS EXP-1 Aim: Write a function in C++ that exchanges data (passing by reference) using swap function to interchange the given two numbers. Program: #include #include
More informationFile Organization and Management
1 UNESCO-NIGERIA TECHNICAL & VOCATIONAL EDUCATION REVITALISATION PROJECT-PHASE II NATIONAL DIPLOMA IN COMPUTER TECHNOLOGY File Organization and Management YEAR II- SE MESTER I PRACTICAL Version 1: December
More information22. VB Programming Fundamentals Data Access with Data Objects
22. VB Programming Fundamentals Data Access with Data Objects 22.1 Data Access Object MS Data Access Object (DAO) enables you to use a programming language to access and manipulate data in local or remote
More informationIT3101 -Rapid Application Development Second Year- First Semester. Practical 01. Visual Basic.NET Environment.
IT3101 -Rapid Application Development Second Year- First Semester Practical 01 Visual Basic.NET Environment. Main Area Menu bar Tool bar Run button Solution Explorer Toolbox Properties Window Q1) Creating
More information1. What is the definition of a problem? 2. How to solve problems? 3. What is meant by Algorithm? 4. What is a Program testing? 5. What is Flowchart?
1. What is the definition of a problem? 2. How to solve problems? 3. What is meant by Algorithm? 4. What is a Program testing? 5. What is Flowchart? 6. Define Visual Basic.NET? 7. Define programming language?
More informationFunctions and Procedures. Functions. Built In Functions. Built In Functions in VB FIT 100 FIT 100
Functions Functions and Procedures Similarities: Little mini-programs that are named and include a series of code statements (instructions) to be executed when called. Differences: Functions have a specific
More information11-1 11-1.1 11-1.2 11-2 11-2.1 11-2.2 108 II 11-1 Timer 11-1.1 Windows 11-1 11-1 Visual Basic Animation Animation 11 109 Animation Animation RLE AVI AVI 11-2 Visual Basic Animation / Microsoft Windows
More informationFIT 100. Lab 8: Writing and Running Your First Visual Basic Program Spring 2002
FIT 100 Lab 8: Writing and Running Your First Visual Basic Program Spring 2002 1. Create a New Project and Form... 1 2. Add Objects to the Form and Name Them... 3 3. Manipulate Object Properties... 3 4.
More informationP>80 A P>70 && P<80 B P<70 C 12. Calculate employee salary according to following condition
1. Write a JAVA SCRIPT program to convert temperature Celsius to Fahrenheit AND Fahrenheit to Celsius and implement any three properties on Label. 2. Write a JAVA SCRIPT program to convert liter to gallons
More informationRadius= 10 cm, Color= Red, Weight= 200g, X= 3m, Y= 5m, Z= 2m. Radius= 10 cm, Color= Blue, Weight= 200g, X= 3m, Y= 5m, Z= 0m
C# property method Radius= 10 cm, Color= Red, Weight= 200g, X= 3m, Y= 5m, Z= 0m Radius= 10 cm, Color= Red, Weight= 200g, X= 3m, Y= 5m, Z= 2m Radius= 10 cm, Color= Blue, Weight= 200g, X= 3m, Y= 5m, Z= 0m
More informationLookup Project. frmlookup (Name: object is a combo box, style 2); use 4 labels: 2 for phone, 2 for mail. MsgBox Function:
Lookup Project frmlookup (Name: object is a combo box, style 2); use 4 labels: 2 for phone, 2 for mail. MsgBox Function: Help About, in a Message Box lookup.vbp programmed by C.Gribble Page 2 Code for
More informationDisclaimer. Trademarks. Liability
Disclaimer II Visual Basic 2010 Made Easy- A complete tutorial for beginners is an independent publication and is not affiliated with, nor has it been authorized, sponsored, or otherwise approved by Microsoft
More informationTotal No. of Questions : 6] [Total No. of Printed Pages : 2 [3689]-101. P. G. D. C. M. (Semester - I) Examination
Total No. of Questions : 6] [Total No. of Printed Pages : 2 [3689]-101 P. G. D. C. M. (Semester - I) Examination - 2009 ELEMENTS OF INFORMATION TECHNOLOGY AND OFFICE AUTOMATION, WINDOWS OPERATING SYSTEM
More informationVisual Basic.NET. 1. Which language is not a true object-oriented programming language?
Visual Basic.NET Objective Type Questions 1. Which language is not a true object-oriented programming language? a.) VB.NET b.) VB 6 c.) C++ d.) Java Answer: b 2. A GUI: a.) uses buttons, menus, and icons.
More informationStep 1: Start a GUI Project. Start->New Project->Visual C# ->Windows Forms Application. Name: Wack-A-Gopher. Step 2: Add Content
Step 1: Start a GUI Project Start->New Project->Visual C# ->Windows Forms Application Name: Wack-A-Gopher Step 2: Add Content Download the Content folder (content.zip) from Canvas and unzip in a location
More informationAnswer: C. 7. In window we can write code A. Immediate window B. Locals window C. Code editor window D. None of these. Answer: C
1. Visual Basic is a tool that allows you to develop application in A. Real time B. Graphical User Interface C. Menu Driven D. None Of These 2. IDE stands for.. A. Internet Development Environment B. Integrated
More informationPROGRAM BASCOM AVR. ' inisialisasi '
PROGRAM BASCOM AVR '--------------------------------------- inisialisasi '----------------------- $prog &HFF, &HC4, &HD9, &H00 ' generated. Take care that the chip supports all fuse bytes. $regfile = "m8def.dat"
More information151 Mixed bag of HOTS questions from VB 15 A VB program accepts a number in a text box and rounds the number to 0 decimal places. Write the VB code under the button cmdround to achieve this feature. Do
More informationChapter 1: Representing Data
- ١ - Chapter 1: Representing Data Data Variables and Constants When you input data into a computer, the computer stores it in its memory 1- Computer's memory consider as millions of little boxes. 2- Each
More informationDeveloping Motion Systems in Measurement Studio for Visual Basic
Application Note 176 Developing Motion Systems in Measurement Studio for Visual Basic Introduction With the Motion Control Module for Measurement Studio, you can develop motion control applications using
More informationLPTCOM. Bruce Misner Lakehead University h d3 RD2 pin 21. RD3 pin h d4. RD4 pin 27 RD5 pin h d5. RD6 pin 29 RD7 pin H d6
LPTCOM By Bruce Misner Lakehead University LPTCOM is a demonstration of a robust bi-directional communcation between the PIC microcontroller and the printer port of your PC. Incorporating more handshaking
More informationDesign & Application of Computer Controlled Switch
Design & Application of Computer Controlled Switch Rajesh Shrestha, Dipak Subedi and Shekhar Gurung Journal of Nepal Physical Society Volume 4, Issue 1, February 2017 ISSN: 2392-473X Editors: Dr. Gopi
More informationExercise 6. Controlling of a bipolar stepper motor with the help of eprodas SCI module and program language Visual Basic
1 Exercise 6 Controlling of a bipolar stepper motor with the help of eprodas SCI module and program language Visual Basic A bipolar stepper motor fundamentally consists of two windings and a magnetic anchorless
More informationAIM To analyze, design and develop code for Online Course Reservation System using Rational Rose software
Ex. No.1 Date: ONLINE COURSE RESERVATION AIM To analyze, design and develop code for Online Course Reservation System using Rational Rose software PROBLEM STATEMENT As the head of information systems for
More informationCrystal Reports. Overview. Contents. Using Crystal Reports Print Engine calls (API) in Microsoft Visual Basic
Using Crystal Reports Print Engine calls (API) in Microsoft Visual Basic Overview Contents This document describes how to preview a report using Microsoft (MS) Visual Basic, by making direct API calls
More informationControls. By the end of this chapter, student will be able to:
Controls By the end of this chapter, student will be able to: Recognize the (Properties Window) Adjust the properties assigned to Controls Choose the appropriate Property Choose the proper value for the
More informationIN COLLABORATION WITH IVTB. Diploma in Information Technology. Examinations for / Semester 2
IN COLLABORATION WITH IVTB Diploma in Information Technology DIP/03/Full Time Examinations for 2004 2005 / Semester 2 MODULE: VISUAL PROGRAMMING MODULE CODE: BISE070 Duration: 2 Hours + 10 Minutes (Reading
More informationBefore We Begin. Introduction to Computer Use II. Overview (1): Winter 2006 (Section M) CSE 1530 Winter Bill Kapralos.
Winter 2006 (Section M) Topic E: Subprograms Functions and Procedures Wednesday, March 8 2006 CSE 1530, Winter 2006, Overview (1): Before We Begin Some administrative details Some questions to consider
More informationElseIf: Another Conditional Statement
If This, Then What? If color = true Then If thecolor = blue Then lblsuess.caption = blue fish lblsuess.caption = red fish lblsuess.caption = thenumber & & fish Take out a piece of paper. Write your name
More informationPROGRAMMING TECHNIQUES
Subclassing? Class modules aren t just for business rules. by Karl E. Peterson f all the innovations Visual Basic 4.0 introduced, the most revolutionary is probably the new Class module. By now, you ve
More informationGUJARAT TECHNOLOGICAL UNIVERSITY DIPLOMA IN INFORMATION TECHNOLOGY Semester: 4
GUJARAT TECHNOLOGICAL UNIVERSITY DIPLOMA IN INFORMATION TECHNOLOGY Semester: 4 Subject Name VISUAL BASIC Sr.No Course content 1. 1. Introduction to Visual Basic 1.1. Programming Languages 1.1.1. Procedural,
More informationModel. November 2009 Pages in total: 52 XRKT2*RTZ001D/E
AUTO REF/KERATO/TONOMETER Model TONOREFII INTERFACE MANUAL November 2009 Pages in total: 52 XRKT2*RTZ001D/E NIDEK CO., LTD. : 34-14, Maehama, Hiroishi-cho, Gamagori, Aichi 443-0038, Japan (Manufacturer)
More informationUniversity of Technology Laser & Optoelectronics Engineering Department Visual basic Lab.
DriveListBox Control, DirListBox Control, and FileListBox Control CommonDialog Control 1 2 DriveListBox Control disk drive Important Properties object.drive [= drive] Drive Floppy disks "a:" or "b:", and
More informationWelcome to 5.0 Automation Library. Using this library you can automate the features for Excel.
Introduction Welcome to the @RISK 5.0 Automation Library. Using this library you can automate the features of @RISK for Excel. Please Note: While Palisade Corporation will make every effort to maintain
More informationEfficiency of Bubble and Shell Sorts
REVIEW Efficiency of Bubble and Shell Sorts Array Elements Bubble Sort Comparisons Shell Sort Comparisons 5 10 17 10 45 57 15 105 115 20 190 192 25 300 302 30 435 364 50 1225 926 100 4950 2638 500 124,750
More informationNot For Sale. Using and Writing Visual Basic for Applications Code. Creating VBA Code for the Holland Database. Case Belmont Landscapes
Objectives Tutorial 11 Session 11.1 Learn about Function procedures (functions), Sub procedures (subroutines), and modules Review and modify an existing subroutine in an event procedure Create a function
More informationACS-1805 Introduction to Programming (with App Inventor)
ACS-1805 Introduction to Programming (with App Inventor) Chapter 8 Creating Animated Apps 10/25/2018 1 What We Will Learn The methods for creating apps with simple animations objects that move Including
More informationUNIT IV (IT APPLICATIONS) (From this unit: 3 Questions - 5 Marks)
UNIT IV (IT APPLICATIONS) (From this unit: 3 Questions - 5 Marks) One Mark Questions 1. Define e-business. Name one popularly used e-business website. 2. What social impact does e-governance have on society?
More informationESPSX3 Ethernet Serial Port Server X 3 Users Guide
ESPSX3 Ethernet Serial Port Server X 3 Users Guide The ESPSX3 is an Ethernet Serial Port Sever with two RS-232 ports and one port that can be configured for RS-232, RS-485, or RS-422. The RS-485/RS-422
More informationIntegrate Word and the Web Vocabulary
Handout D404-02 Integrate Word and the Web Vocabulary Browser Browsing Bulletin board system Domain Domain extension (also known as top-level domain) Domain extension types Domain name system (DNS) Download
More informationPROJECT ELECTRONIC CONTROL GAS INJECTION SYSTEM
PROJECT ELECTRONIC CONTROL GAS INJECTION SYSTEM SOURCE CODE VISUAL BASIC Dim WR As Boolean Dim pw Dim data Dim oxg Public index1 Dim index2 Dim k Dim u Dim refd Dim datar1$(1000, 9) Dim c_data Dim A$(10)
More informationLecture 5 COMMON CONTROLS
Lecture 5 COMMON CONTROLS 1. The ListBox Class Represents a box that contains a list of items. The following are its some of its more important properties: MultiColumn This is a Boolean that indicates
More informationWhat Have You Learned About Programming So Far? Expressions
What Have You Learned About Programming So Far? Let s review: Variables Expressions Conditionals Procedures Expressions A means of performing the actual computation Many kinds of expressions. They can
More informationAUTOMATIC PUBLIC DISTRIBUTION SYSTEM
Available Online at www.ijcsmc.com International Journal of Computer Science and Mobile Computing A Monthly Journal of Computer Science and Information Technology ISSN 2320 088X IJCSMC, Vol. 2, Issue.
More informationPhiladelphia University Faculty of Information Technology. Visual Programming
Philadelphia University Faculty of Information Technology Visual Programming Using C# -Work Sheets- Prepared by: Dareen Hamoudeh Eman Al Naji Work Sheet 1 Form, Buttons and labels Properties Changing properties
More informationIS 320 Spring 96 Page 1 Exam 1. Please use your own paper to answer the following questions. Point values are shown in parentheses.
IS 320 Spring 96 Page 1 Please use your own paper to answer the following questions. Point values are shown in parentheses. 1. (10) Consider the following segment of code: If txtansicode.text < "0" Or
More informationUniversitas Sumatera Utara
43 L A M P I R A N 44 Penulisan Kode Program Aplikasi Game Tetris A. Kode program aplikasi game tetris untuk form1 ( MainF.frm ) adalah sebagai berikut. Dim BANK As Database Dim RS As DAO.Recordset Private
More informationRead More: Index Function Excel [Examples, Make Dynamic Range, INDEX MATCH]
You can utilize the built-in Excel Worksheet functions such as the VLOOKUP Function, the CHOOSE Function and the PMT Function in your VBA code and applications as well. In fact, most of the Excel worksheet
More informationSample Paper 2010 Class XII Subject Informatic Practices
Sample Paper 2010 Class XII Subject Informatic Practices (Section A) Q1. Answer the following Questions a) Visual Basic is not an Object Oriented Language Justify this statement. 2 b) How is a standard
More informationKARTU BIMBINGAN TUGAS AKHIR MAHASISWA PEMBAHASAN PADA ASISTENSI MENGENAI, PADA BAB
62 KEMENTERIAN PENDIDIKAN NASIONAL UNIVERSITAS SUMATERA UTARA FAKULTAS MATEMATIKA DAN ILMU PENGETAHUAN ALAM Jl. Bioteknologi No.1 Kampus USU Padang Bulan Medan 20155 Telp. (061) 8211050, 8214290, Fax (061)
More information1/27/2011. * VB Data Structures ArrayList * Queue, stack, and hashtable
* VB Data Structures ArrayList * Queue, stack, and hashtable 1 System Array(index by ordinal values) not a collection System.Collections Arraylist, Queue, and Stack(indexed by ordinal values, allows insertion
More informationText box. Command button. 1. Click the tool for the control you choose to draw in this case, the text box.
Visual Basic Concepts Hello, Visual Basic See Also There are three main steps to creating an application in Visual Basic: 1. Create the interface. 2. Set properties. 3. Write code. To see how this is done,
More informationOverview About KBasic
Overview About KBasic The following chapter has been used from Wikipedia entry about BASIC and is licensed under the GNU Free Documentation License. Table of Contents Object-Oriented...2 Event-Driven...2
More informationProgramming CMC-S3 and H-bridge systems in MS Visual Basic
Programming CMC-S3 and H-bridge systems in MS Visual Basic Author: Slavko Kocijancic University of Ljubljana, Faculty of Education 20th December 2004 INSTALLATION OF VISUAL BASIC 5 CCE 2 INSTALLATION OF
More information