Private Sub Cours_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
|
|
- Piers Russell
- 6 years ago
- Views:
Transcription
1 Public Class Cours Private nc As Integer Private Sub Cours_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load 'TODO : cette ligne de code charge les données dans la table 'Dset.professeur'. Vous pouvez la déplacer ou la supprimer selon vos besoins. Me.ProfesseurTableAdapter.Fill(Me.Dset.professeur) 'TODO : cette ligne de code charge les données dans la table 'Dset.cours'. Vous pouvez la déplacer ou la supprimer selon vos besoins. Me.CoursTableAdapter.Fill(Me.Dset.cours Private Sub ajt_click(byval sender As System.Object, ByVal e As System.EventArgs) Handles ajt.click Me.CoursTableAdapter.InsertQuery(NumcoursTextBox.Text, NumsalleTextBox.Text, MatriculeprofesseurTextBox.Text, TitreTextBox.Text, CoefTextBox.Text) MsgBox("Ajout avec succés") Me.CoursTableAdapter.Fill(Me.Dset.cours) Private Sub sup_click(byval sender As System.Object, ByVal e As System.EventArgs) Handles sup.click Dim i As Integer i = InputBox("Entrez le Numero du cours à Supprimer!", "Suppression") Me.CoursTableAdapter.DeleteQuery(i) MsgBox("Suppression avec succès") Page 1
2 Me.CoursTableAdapter.Fill(Me.Dset.cours) Private Sub mdf_click(byval sender As System.Object, ByVal e As System.EventArgs) Handles mdf.click Me.CoursTableAdapter.UpdateQuery(NumsalleTextBox.Text, MatriculeprofesseurTextBox.Text, TitreTextBox.Text, CoefTextBox.Text, NumcoursTextBox.Text) MsgBox("Modification avec succès") Me.CoursTableAdapter.Fill(Me.Dset.cours) Private Sub rch_click(byval sender As System.Object, ByVal e As System.EventArgs) Handles rch.click Dim i As Integer i = InputBox("Entrez le Numero du cours rechercher!", "Recherche") Me.CoursTableAdapter.FillBy(Dset.cours, i) nc = NumcoursTextBox.Text Private Sub nv_click(byval sender As System.Object, ByVal e As System.EventArgs) Handles nv.click Page 2
3 NumcoursTextBox.Clear() NumsalleTextBox.Clear() MatriculeprofesseurTextBox.Clear() TitreTextBox.Clear() CoefTextBox.Clear() NumcoursTextBox.Focus() Private Sub act_click(byval sender As System.Object, ByVal e As System.EventArgs) Handles act.click Me.CoursTableAdapter.Fill(Me.Dset.cours) Private Sub ComboBox1_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ComboBox1.SelectedIndexChanged MatriculeprofesseurTextBox.Text = ComboBox1.Text Private Sub rtr_click(byval sender As System.Object, ByVal e As System.EventArgs) Handles rtr.click Menu_Principale.Show() Private Sub EtuduantToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles EtuduantToolStripMenuItem.Click Etudiant.Show() Private Sub ProfesseurToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ProfesseurToolStripMenuItem.Click Page 3
4 Professeur.Show() Private Sub ExamenToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ExamenToolStripMenuItem.Click Examen.Show() End Class Public Class Etudiant Private cd_etd As Integer Private Sub Etudiant_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load 'TODO : cette ligne de code charge les données dans la table 'Dset.etudiant'. Vous pouvez la déplacer ou la supprimer selon vos besoins. Me.EtudiantTableAdapter.Fill(Me.Dset.etudiant) Private Sub ajt_click(byval sender As System.Object, ByVal e As System.EventArgs) Handles ajt.click Me.EtudiantTableAdapter.InsertQuery(CodeetudiantTextBox.Text, NomTextBox.Text, PrenomTextBox.Text, Date_naissDateTimePicker.Text) MsgBox("ajout avec succés") Page 4
5 Me.EtudiantTableAdapter.Fill(Me.Dset.etudiant) Private Sub sup_click(byval sender As System.Object, ByVal e As System.EventArgs) Handles sup.click Dim i As Integer i = InputBox("Entrez le Numero d'étudiant à supprimer!", "Suppression") Me.EtudiantTableAdapter.DeleteQuery(i) MsgBox("suppression avec succès") Me.EtudiantTableAdapter.Fill(Me.Dset.etudiant) Private Sub mdf_click(byval sender As System.Object, ByVal e As System.EventArgs) Handles mdf.click Me.EtudiantTableAdapter.UpdateQuery(NomTextBox.Text, PrenomTextBox.Text, Date_naissDateTimePicker.Text, CodeetudiantTextBox.Text) MsgBox("modificatoin avec succés") Me.EtudiantTableAdapter.Fill(Me.Dset.etudiant) Private Sub rch_click(byval sender As System.Object, ByVal e As System.EventArgs) Handles rch.click Page 5
6 Dim i As Integer i = InputBox("Entrez le Numero d'étudiant rechercher!", "Recherche") Me.EtudiantTableAdapter.FillBy(Dset.etudiant, i) cd_etd = CodeetudiantTextBox.Text Private Sub nv_click(byval sender As System.Object, ByVal e As System.EventArgs) Handles nv.click CodeetudiantTextBox.Clear() NomTextBox.Clear() PrenomTextBox.Clear() CodeetudiantTextBox.Focus() Private Sub act_click(byval sender As System.Object, ByVal e As System.EventArgs) Handles act.click Me.EtudiantTableAdapter.Fill(Me.Dset.etudiant) Private Sub nt_cr_click(byval sender As System.Object, ByVal e As System.EventArgs) Handles nt_cr.click Dim c As New nt_cr Consulter.CrystalReportViewer1.ReportSource = c Consulter.Text = "Liste des notes par N du cours" Consulter.Show() Page 6
7 Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim c As New nt_etd Consulter.CrystalReportViewer1.ReportSource = c Consulter.Text = "Liste des notes par N étudiants" Consulter.Show() Private Sub rtr_click(byval sender As System.Object, ByVal e As System.EventArgs) Handles rtr.click Menu_Principale.Show() Private Sub ProfesseurToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ProfesseurToolStripMenuItem.Click Professeur.Show() Private Sub CoursToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles CoursToolStripMenuItem.Click Cours.Show() Private Sub ExamenToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ExamenToolStripMenuItem.Click Examen.Show() Page 7
8 End Class Public Class Examen Private ne As Integer Private Sub Examen_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load 'TODO : cette ligne de code charge les données dans la table 'Dset.cours'. Vous pouvez la déplacer ou la supprimer selon vos besoins. Me.CoursTableAdapter.Fill(Me.Dset.cours) 'TODO : cette ligne de code charge les données dans la table 'Dset.etudiant'. Vous pouvez la déplacer ou la supprimer selon vos besoins. Me.EtudiantTableAdapter.Fill(Me.Dset.etudiant) 'TODO : cette ligne de code charge les données dans la table 'Dset.examen'. Vous pouvez la déplacer ou la supprimer selon vos besoins. Me.ExamenTableAdapter.Fill(Me.Dset.examen) Private Sub ajt_click(byval sender As System.Object, ByVal e As System.EventArgs) Handles ajt.click Me.ExamenTableAdapter.InsertQuery(CodeetudiantTextBox.Text, NumcoursTextBox.Text, DateDateTimePicker.Text, NoteTextBox.Text) MsgBox("Ajout avec succès") Me.ExamenTableAdapter.Fill(Me.Dset.examen) Page 8
9 Private Sub sup_click(byval sender As System.Object, ByVal e As System.EventArgs) Handles sup.click Dim i As Integer i = InputBox("Entrez le Numero d'examen à supprimer!", "Suppression") Me.ExamenTableAdapter.DeleteQuery(i) MsgBox("suppression avec succès") Me.ExamenTableAdapter.Fill(Me.Dset.examen) Private Sub mdf_click(byval sender As System.Object, ByVal e As System.EventArgs) Handles mdf.click Me.ExamenTableAdapter.UpdateQuery(NumcoursTextBox.Text, DateDateTimePicker.Text, NoteTextBox.Text, CodeetudiantTextBox.Text) MsgBox("Ajout avec succès") Me.ExamenTableAdapter.Fill(Me.Dset.examen) Private Sub rch_click(byval sender As System.Object, ByVal e As System.EventArgs) Handles rch.click Dim i As Integer i = InputBox("Entrez le numéro d'étudiant pour lequel vous voulez afficher les notes") Me.ExamenTableAdapter.FillBy(Dset.examen, i) Page 9
10 ne = CodeetudiantTextBox.Text Private Sub nv_click(byval sender As System.Object, ByVal e As System.EventArgs) Handles nv.click CodeetudiantTextBox.Clear() NumcoursTextBox.Clear() NoteTextBox.Clear() ComboBox1.Focus() Private Sub ComboBox1_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ComboBox1.SelectedIndexChanged CodeetudiantTextBox.Text = ComboBox1.Text Private Sub ComboBox2_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ComboBox2.SelectedIndexChanged NumcoursTextBox.Text = ComboBox2.Text Private Sub act_click(byval sender As System.Object, ByVal e As System.EventArgs) Handles act.click Me.ExamenTableAdapter.Fill(Me.Dset.examen) Private Sub rtr_click(byval sender As System.Object, ByVal e As System.EventArgs) Handles rtr.click Menu_Principale.Show() Page 10
11 Private Sub EtuduantToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles EtuduantToolStripMenuItem.Click Etudiant.Show() Private Sub ProfesseurToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ProfesseurToolStripMenuItem.Click Professeur.Show() Private Sub CoursToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles CoursToolStripMenuItem.Click Cours.Show() End Class Dans Crystal report Option Strict Off Option Explicit On Imports CrystalDecisions.CrystalReports.Engine Imports CrystalDecisions.ReportSource Imports CrystalDecisions.Shared Imports System Imports System.ComponentModel Page 11
12 Public Class nt_cr Inherits ReportClass Public Sub New() MyBase.New Public Overrides Property ResourceName() As String Return "nt_cr.rpt" End Set 'Do nothing End Set Public Overrides Property NewGenerator() As Boolean Return true End Set 'Do nothing End Set Public Overrides Property FullResourceName() As String Return "Variante_3.nt_cr.rpt" End Page 12
13 Set 'Do nothing End Set <Browsable(false), _ DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hi dden)> _ Public ReadOnly Property Section1() As CrystalDecisions.CrystalReports.Engine.Section Return Me.ReportDefinition.Sections(0) End <Browsable(false), _ DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hi dden)> _ Public ReadOnly Property Section2() As CrystalDecisions.CrystalReports.Engine.Section Return Me.ReportDefinition.Sections(1) End <Browsable(false), _ DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hi dden)> _ Public ReadOnly Property Section3() As CrystalDecisions.CrystalReports.Engine.Section Return Me.ReportDefinition.Sections(2) Page 13
14 End <Browsable(false), _ DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hi dden)> _ Public ReadOnly Property Section4() As CrystalDecisions.CrystalReports.Engine.Section Return Me.ReportDefinition.Sections(3) End <Browsable(false), _ DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hi dden)> _ Public ReadOnly Property Section5() As CrystalDecisions.CrystalReports.Engine.Section Return Me.ReportDefinition.Sections(4) End End Class <System.Drawing.ToolboxBitmapAttribute(Type(CrystalDecisions.[Shared].ExportOptions), "report.bmp")> _ Public Class Cachednt_cr Inherits Component Implements ICachedReport Public Sub New() MyBase.New Page 14
15 <Browsable(false), _ DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hi dden)> _ Public Overridable Property IsCacheable() As Boolean Implements CrystalDecisions.ReportSource.ICachedReport.IsCacheable Return true End Set ' End Set <Browsable(false), _ DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hi dden)> _ Public Overridable Property ShareDBLogonInfo() As Boolean Implements CrystalDecisions.ReportSource.ICachedReport.ShareDBLogonInfo Return false End Set ' End Set <Browsable(false), _ Page 15
16 DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hi dden)> _ Public Overridable Property CacheTimeOut() As System.TimeSpan Implements CrystalDecisions.ReportSource.ICachedReport.CacheTimeOut Return CachedReportConstants.DEFAULT_TIMEOUT End Set ' End Set Public Overridable Function CreateReport() As CrystalDecisions.CrystalReports.Engine.ReportDocument Implements CrystalDecisions.ReportSource.ICachedReport.CreateReport Dim rpt As nt_cr = New nt_cr rpt.site = Me.Site Return rpt End Function Public Overridable Function CustomizedCacheKey(ByVal request As RequestContext) As String Implements CrystalDecisions.ReportSource.ICachedReport.CustomizedCacheKey Dim key As [String] = Nothing '// The following is the code used to generate the default '// cache key for caching report jobs in the ASP.NET Cache. '// Feel free to modify this code to suit your needs. '// Returning key == null causes the default cache key to '// be generated. ' 'key = RequestContext.BuildCompleteCacheKey( ' request, Page 16
17 ' null, // sreportfilename ' this.type(), ' this.sharedblogoninfo ); Return key End Function End Class Public Class Professeur Private mp As Integer Private Sub Professeur_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load 'TODO : cette ligne de code charge les données dans la table 'Dset.professeur'. Vous pouvez la déplacer ou la supprimer selon vos besoins. Me.ProfesseurTableAdapter.Fill(Me.Dset.professeur) Private Sub ajt_click(byval sender As System.Object, ByVal e As System.EventArgs) Handles ajt.click Me.ProfesseurTableAdapter.InsertQuery(MatriculeprofesseurTextBox.Text, NomTextBox.Text, PrenomTextBox.Text) MsgBox("Ajout avce succès") Me.ProfesseurTableAdapter.Fill(Me.Dset.professeur) Page 17
18 Private Sub sup_click(byval sender As System.Object, ByVal e As System.EventArgs) Handles sup.click Dim i As Integer i = InputBox("Entrez le Numero le mtricule du professeur à supprimer!", "Suppression") Me.ProfesseurTableAdapter.DeleteQuery(i) MsgBox("suppression avec succès") Me.ProfesseurTableAdapter.Fill(Me.Dset.professeur) Private Sub mdf_click(byval sender As System.Object, ByVal e As System.EventArgs) Handles mdf.click Me.ProfesseurTableAdapter.UpdateQuery(NomTextBox.Text, PrenomTextBox.Text, MatriculeprofesseurTextBox.Text) MsgBox("Modification avec succès") Me.ProfesseurTableAdapter.Fill(Me.Dset.professeur) Private Sub rch_click(byval sender As System.Object, ByVal e As System.EventArgs) Handles rch.click Dim i As Integer i = InputBox("Entrez le Matricule du professeur à rechercher!", "Recherche") Me.ProfesseurTableAdapter.FillBy(Dset.professeur, i) Page 18
19 mp = MatriculeprofesseurTextBox.Text Private Sub nv_click(byval sender As System.Object, ByVal e As System.EventArgs) Handles nv.click MatriculeprofesseurTextBox.Clear() NomTextBox.Clear() PrenomTextBox.Clear() MatriculeprofesseurTextBox.Focus() Private Sub act_click(byval sender As System.Object, ByVal e As System.EventArgs) Handles act.click Me.ProfesseurTableAdapter.Fill(Me.Dset.professeur) Private Sub rtr_click(byval sender As System.Object, ByVal e As System.EventArgs) Handles rtr.click Menu_Principale.Show() Private Sub EtuduantToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles EtuduantToolStripMenuItem.Click Etudiant.Show() Page 19
20 Private Sub CoursToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles CoursToolStripMenuItem.Click Cours.Show() Private Sub ExamenToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ExamenToolStripMenuItem.Click Examen.Show() End Class Page 20
IMS1906: Business Software Fundamentals Tutorial exercises Week 5: Variables and Constants
IMS1906: Business Software Fundamentals Tutorial exercises Week 5: Variables and Constants These notes are available on the IMS1906 Web site http://www.sims.monash.edu.au Tutorial Sheet 4/Week 5 Please
More informationObjectives. After completing this topic, the students will: Understand of the concept of polymorphism Know on How to implement 2 types of polymorphism
Polymorphism Objectives After completing this topic, the students will: Understand of the concept of polymorphism Know on How to implement 2 types of polymorphism Definition Polymorphism provides the ability
More informationVisual Basic: Opdracht Structuur
Visual Basic: Opdracht Structuur HoofdMenu.vb SubMenu_Kwadraat.vb Form1.vb Form2.vb Submenu_Som.vb Form3.vb Form4.vb SubMenu_Gem.vb Form5.vb Form6.vb Form10.vb SubMenu_Naam.vb Form7.vb Form11.vb Form8.vb
More informationDéclaration du module
Déclaration du module Imports System.IO Module ModuleStagiaires Public Structure Stagiaire Private m_code As Long Private m_nom As String Private m_prenom As String Public Property code() As Long Get Return
More informationFOR 240 Homework Assignment 4 Using DBGridView and Other VB Controls to Manipulate Database Introduction to Computing in Natural Resources
FOR 240 Homework Assignment 4 Using DBGridView and Other VB Controls to Manipulate Database Introduction to Computing in Natural Resources This application demonstrates how a DataGridView control can be
More informationLearning VB.Net. Tutorial 19 Classes and Inheritance
Learning VB.Net Tutorial 19 Classes and Inheritance Hello everyone welcome to vb.net tutorials. These are going to be very basic tutorials about using the language to create simple applications, hope you
More informationLearning VB.Net. Tutorial 10 Collections
Learning VB.Net Tutorial 10 Collections Hello everyone welcome to vb.net tutorials. These are going to be very basic tutorials about using the language to create simple applications, hope you enjoy it.
More informationForm Connection. Imports System Imports System.Threading Imports System.IO.Ports Imports System.ComponentModel
Form Connection Imports System Imports System.Threading Imports System.IO.Ports Imports System.ComponentModel Public Class connection '------------------------------------------------ Dim myport As Array
More informationDO NOT COPY AMIT PHOTOSTUDIO
AMIT PHOTOSTUDIO These codes are provided ONLY for reference / Help developers. And also SUBMITTED IN PARTIAL FULFILLMENT OF THE REQUERMENT FOR THE AWARD OF BACHELOR OF COMPUTER APPLICATION (BCA) All rights
More informationIn this tutorial we will create a simple calculator to Add/Subtract/Multiply and Divide two numbers and show a simple message box result.
Simple Calculator In this tutorial we will create a simple calculator to Add/Subtract/Multiply and Divide two numbers and show a simple message box result. Let s get started First create a new Visual Basic
More informationTo enter the number in decimals Label 1 To show total. Text:...
Visual Basic tutorial - currency converter We will use visual studio to create a currency converter where we can convert a UK currency pound to other currencies. This is the interface for the application.
More informationC4.3, 4 Lab: Conditionals - Select Statement and Additional Input Controls Solutions
C4.3, 4 Lab: Conditionals - Select Statement and Additional Input Controls Solutions Between the comments included with the code and the code itself, you shouldn t have any problems understanding what
More informationElse. End If End Sub End Class. PDF created with pdffactory trial version
Dim a, b, r, m As Single Randomize() a = Fix(Rnd() * 13) b = Fix(Rnd() * 13) Label1.Text = a Label3.Text = b TextBox1.Clear() TextBox1.Focus() Private Sub Button2_Click(ByVal sender As System.Object, ByVal
More informationVISUAL BASIC II CC111 INTRODUCTION TO COMPUTERS
VISUAL BASIC II CC111 INTRODUCTION TO COMPUTERS Intended Learning Objectives Able to build a simple Visual Basic Application. 2 The Sub Statement Private Sub ControlName_eventName(ByVal sender As System.Object,
More informationPROGRAMMING ASSIGNMENT: MOVIE QUIZ
PROGRAMMING ASSIGNMENT: MOVIE QUIZ For this assignment you will be responsible for creating a Movie Quiz application that tests the user s of movies. Your program will require two arrays: one that stores
More informationRevision for Final Examination (Second Semester) Grade 9
Revision for Final Examination (Second Semester) Grade 9 Name: Date: Part 1: Answer the questions given below based on your knowledge about Visual Basic 2008: Question 1 What is the benefit of using Visual
More information超音波モータ制御プログラムの作成 (v1.2.1)
超音波モータ制御プログラムの作成 (v1.2.1) 2008 年 11 月 28 日 Masaaki MATSUO 構成機器 モータ本体 : フコク ロータリーエンコーダー内蔵型超音波モータ USB-60E モータ制御部 : フコク 位置決制御ドライバ DCONT-3-60 (SD13) コントローラ : Interface 2 軸絶縁パルスモーションコントローラ ( 直線補間エンコーダ入力 5V)
More informationLearning VB.Net. Tutorial 17 Classes
Learning VB.Net Tutorial 17 Classes Hello everyone welcome to vb.net tutorials. These are going to be very basic tutorials about using the language to create simple applications, hope you enjoy it. If
More informationForm Adapter Example. DRAFT Document ID : Form_Adapter.PDF Author : Michele Harris Version : 1.1 Date :
Form Adapter Example DRAFT Document ID : Form_Adapter.PDF Author : Michele Harris Version : 1.1 Date : 2009-06-19 Form_Adapter.doc DRAFT page 1 Table of Contents Creating Form_Adapter.vb... 2 Adding the
More informationโปรแกรมช วยทดสอบหม อแปลงกระแส
โปรแกรมช วยทดสอบหม อแปลงกระแส 1.เมน ของโปรแกรม ภาพท 1 หน าเมน ของโปรแกรม Public Class frmmain Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
More informationLearning VB.Net. Tutorial 15 Structures
Learning VB.Net Tutorial 15 Structures Hello everyone welcome to vb.net tutorials. These are going to be very basic tutorials about using the language to create simple applications, hope you enjoy it.
More informationS.2 Computer Literacy Question-Answer Book
S.2 C.L. Half-yearly Examination (2012-13) 1 12-13 S.2 C.L. Question- Answer Book Hong Kong Taoist Association Tang Hin Memorial Secondary School 2012-2013 Half-yearly Examination S.2 Computer Literacy
More informationUnit 4. Lesson 4.1. Managing Data. Data types. Introduction. Data type. Visual Basic 2008 Data types
Managing Data Unit 4 Managing Data Introduction Lesson 4.1 Data types We come across many types of information and data in our daily life. For example, we need to handle data such as name, address, money,
More informationVARIABLES. 1. STRINGS Data with letters and/or characters 2. INTEGERS Numbers without decimals 3. FLOATING POINT NUMBERS Numbers with decimals
VARIABLES WHAT IS A VARIABLE? A variable is a storage location in the computer s memory, used for holding information while the program is running. The information that is stored in a variable may change,
More informationCorrigé. Leçon A Exercices : Tutoriel a. Dim strmois(1 to 6) as String
Corrigé Tutoriel 10 Leçon A Exercices : 1. a. Dim strmois(1 to 6) as String b. StrMois(1) = "Janvier" StrMois(2) = "Février" StrMois(3) = "Mars" StrMois(4) = "Avril" StrMois(5) = "Mai" StrMois(6) = "Juin"
More informationDEVELOPING OBJECT ORIENTED APPLICATIONS
DEVELOPING OBJECT ORIENTED APPLICATIONS By now, everybody should be comfortable using form controls, their properties, along with methods and events of the form class. In this unit, we discuss creating
More informationHerefordshire College of Technology Centre Edexcel BTEC Level 3 Extended Diploma in Information Technology (Assignment 1 of 3)
Student: Candidate Number: Assessor: Len Shand Herefordshire College of Technology Centre 24150 Edexcel BTEC Level 3 Extended Diploma in Information Technology (Assignment 1 of 3) Course: Unit: Title:
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 informationYear 12 : Visual Basic Tutorial.
Year 12 : Visual Basic Tutorial. STUDY THIS Input and Output (Text Boxes) The three stages of a computer process Input Processing Output Data is usually input using TextBoxes. [1] Create a new Windows
More informationLecture 10 OOP and VB.Net
Lecture 10 OOP and VB.Net Pillars of OOP Objects and Classes Encapsulation Inheritance Polymorphism Abstraction Classes A class is a template for an object. An object will have attributes and properties.
More informationDRAWING AND MOVING IMAGES
DRAWING AND MOVING IMAGES Moving images and shapes in a Visual Basic application simply requires the user of a Timer that changes the x- and y-positions every time the Timer ticks. In our first example,
More informationThis PDF was generated in real-time using DynamicPDF; Generator for.net.
TableReport.aspx 1 1 Imports System 2 Imports System.Data 3 Imports System.Data.SqlClient 4 5 Imports cete.dynamicpdf 6
More informationCode: Week 13. Write a Program to perform Money Conversion. Public Class Form1
Write a Program to perform Money Conversion. Week 13 Code: Public Class Form1 Private Sub Button1_Click(sender As System.Object, e As System.EventArgs) Handles Dim a As Double a = TextBox1.Text If ComboBox1.SelectedItem
More informationCALIFORNIA STATE UNIVERSITY, SACRAMENTO College of Business Administration. MIS 15 Introduction to Business Programming. Programming Assignment 3 (P3)
CALIFORNIA STATE UNIVERSITY, SACRAMENTO College of Business Administration MIS 15 Introduction to Business Programming Programming Assignment 3 (P3) Points: 50 Due Date: Tuesday, May 10 The purpose of
More informationProgramming with Visual Studio Higher (v. 2013)
Programming with Visual Studio Higher (v. 2013) Contents/Requirements Checklist Multiple selection: using ifs & case While Loops Using arrays Filling arrays Displaying array contents Types of variables:
More informationHow to Validate DataGridView Input
How to Validate DataGridView Input This example explains how to use DR.net to set validation criteria for a DataGridView control on a Visual Studio.NET form. Why You Should Use This To add extensible and
More informationTutorial 4: Flow Artificial Intelligence
Tutorial 4: Flow Artificial Intelligence G.Guérard Les étudiants doivent faire des groupes de 3-4 afin de faire un brainstorming pour chaque exercice. Il n est pas demandé aux étudiants d avoir une connaissance
More information"!#... )*! "!# )+, -./ 01 $
Email engauday@hotmail.com! "!#... $ %&'... )*! "!# )+, -./ 01 $ ) 1+ 2#3./ 01 %.. 7# 89 ; )! 5/< 3! = ;, >! 5 6/.?
More informationTutorial 03 understanding controls : buttons, text boxes
Learning VB.Net Tutorial 03 understanding controls : buttons, text boxes Hello everyone welcome to vb.net tutorials. These are going to be very basic tutorials about using the language to create simple
More informationComputing Science Unit 1
Computing Science Unit 1 Software Design and Development Programming Practical Tasks Business Information Technology and Enterprise Contents Input Validation Find Min Find Max Linear Search Count Occurrences
More information1. Create your First VB.Net Program Hello World
1. Create your First VB.Net Program Hello World 1. Open Microsoft Visual Studio and start a new project by select File New Project. 2. Select Windows Forms Application and name it as HelloWorld. Copyright
More informationLAMPIRAN A: Listing Program
67 1. Form Menu Utama LAMPIRAN A: Listing Program Public Class MScreen Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Me.Hide() Form1.Show()
More informationApéndice E Código de software de ayuda en Visual Basic 2005 Public Class Form1
Apéndice E Código de software de ayuda en Visual Basic 2005 Public Class Form1 Dim checkcont As Integer = 0, foto = 0 Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs)
More informationVISUAL BASIC PROGRAMMING (44) Technical Task KEY. Regional 2013 TOTAL POINTS (485)
5 Pages VISUAL BASIC PROGRAMMING (44) Technical Task KEY Regional 2013 TOTAL POINTS (485) Graders: Please double-check and verify all scores! Property of Business Professionals of America. May be reproduced
More informationVB FUNCTIONS AND OPERATORS
VB FUNCTIONS AND OPERATORS In der to compute inputs from users and generate results, we need to use various mathematical operats. In Visual Basic, other than the addition (+) and subtraction (-), the symbols
More informationHow to work with data sources and datasets
Chapter 14 How to work with data sources and datasets Objectives Applied Use a data source to get the data that an application requires. Use a DataGridView control to present the data that s retrieved
More informationก Microsoft Visual Studio 2008
ก 58 ก ก ก ก ก 58 59 ก Microsoft Visual Studio 2008 1. DVD ก MSVS2008 ก MSVS2008 ก ก MSVS2008 ก ก 180 DVD DVD ก MSVS2008 ก ก Install Visual Studio 2008 2. ก ก ก ก ก Next 3. ก ก Options Page ก Custom ก
More informationConnection Example. Document ID : Connection_Example.PDF Author : Michele Harris Version : 1.1 Date :
Connection Example Document ID : Connection_Example.PDF Author : Michele Harris Version : 1.1 Date : 2009-06-19 page 1 Table of Contents Connection Example... 2 Adding the Code... 2 Quick Watch myconnection...
More informationA Complete Tutorial for Beginners LIEW VOON KIONG
I A Complete Tutorial for Beginners LIEW VOON KIONG Disclaimer II Visual Basic 2008 Made Easy- A complete tutorial for beginners is an independent publication and is not affiliated with, nor has it been
More informationWindows Server 2003 Installation Configuration Et Administration Pdf
Windows Server 2003 Installation Configuration Et Administration Pdf Enable SharePoint Administration Service. 55. 4.5. Configure Windows the installation and audit configuration processes. 1.1. Netwrix
More informationUnit 7. Lesson 7.1. Loop. For Next Statements. Introduction. Loop
Loop Unit 7 Loop Introduction So far we have seen that each instruction is executed once and once only. Some time we may require that a group of instructions be executed repeatedly, until some logical
More informationSERIE N 1. 4 ème Année informatiques. Exercice 3. Exercice 4 (Manuel Scolaire) Page [1] Les enregistrements & Les fichiers Infoslpm.e-monsite.
Exercice 3 SERIE N 1 program exercice3; uses wincrt; type st = string[30]; fch = file of st; var f:fch; nom: st; b : integer; procedure saisie(var f:fch); var vil:st; rep:char; write('donner le nom d''une
More informationLab 3 The High-Low Game
Lab 3 The High-Low Game LAB GOALS To develop a simple windows-based game named High-Low using VB.Net. You will use: Buttons, Textboxes, Labels, Dim, integer, arithmetic operations, conditionals [if-then-else],
More informationLampiran 1 Kode Program
53 Lampiran 1 Kode Program Kode Program 1 Kode Menu Peminjaman Private Sub BT_Cari_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles BT_Cari.Click Call CariKaset() Private Sub RB_CheckedChanged(ByVal
More informationRepetition Structures
Repetition Structures There are three main structures used in programming: sequential, decision and repetition structures. Sequential structures follow one line of code after another. Decision structures
More informationSerial-out Color Sensor. Overview. Features
Visit us @ www.thearyatechnologies.com Email: aryaprotech@gmail.com / info@thearyatechnologies.com Contact us@ 0253-2512131 Serial-out Color Sensor Overview Color sensor identifies primary colors (Red,
More information5. Enterprise JavaBeans 5.3 Entity Beans. Entity Beans
Entity Beans Vue objet d une base de données (exemples: client, compte, ) en général, une ligne d une table relationnelle (SGBD-R) ou un objet persistant (SGBD- OO) sont persistant (long-lived) la gestion
More informationTutorial :.Net Micro Framework et.net Gadgeteer
1 Co-développement émulateur personnalisé et application pour une cible. 1.1 Utilisation d un émulateur personnalisé Après l installation du SDK.Net Micro, dans le répertoire d exemples, Framework (ex.
More informationVLANs. Commutation LAN et Wireless Chapitre 3
VLANs Commutation LAN et Wireless Chapitre 3 ITE I Chapter 6 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 1 Objectifs Expliquer le rôle des VLANs dans un réseau convergent. Expliquer le rôle
More informationMy first game. 'function which adds objects with bug tag to bugarray array. Saturday, November 23, :06 AM
My first game Saturday, November 23, 2013 5:06 AM Public Class Form1 Dim moveright As Boolean = False Dim moveup As Boolean = False Dim moveleft As Boolean = False Dim movedown As Boolean = False Dim score
More informationAbout Transferring License Rights for. PL7 V4.5 and Unity Pro V2.3 SP1 Software
Page 1 of 38 Click here to access the English Cliquez ici pour accéder au Français Klicken Sie hier, um zum Deutschen zu gelangen Premete qui per accedere all' Italiano Pulse acquì para acceder al Español
More informationLAMPIRAN. Universitas Sumatera Utara
LAMPIRAN 1. Modul Imports System.Data Imports System.Data.OleDb Module Module1 Public conn As OleDbConnection Public CMD As OleDbCommand Public DS As New DataSet Public DA As OleDbDataAdapter Public RD
More informationTutorial 1 : minimal example - simple variables replacements
Tutorial 1 : minimal example - simple variables replacements The purpose of this tutorial is to show you the basic feature of odtphp : simple variables replacement. require_once('../library/odf.php');
More informationModule 4: Data Types and Variables
Module 4: Data Types and Variables Table of Contents Module Overview 4-1 Lesson 1: Introduction to Data Types 4-2 Lesson 2: Defining and Using Variables 4-10 Lab:Variables and Constants 4-26 Lesson 3:
More informationCOPYRIGHTED MATERIAL. Taking Web Services for a Test Drive. Chapter 1. What s a Web Service?
Chapter 1 Taking Web Services for a Test Drive What s a Web Service? Understanding Operations That Are Well Suited for Web Services Retrieving Weather Information Using a Web Service 101 Retrieving Stock
More informationPrivate Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Label1.Text = Label1.
練習問題 1-1 Label1 Label1.Text = Label1.Text + 2 練習問題 1-2 Button2 Label1 Label1.Text = Label1.Text+ 2 Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
More informationVB.NET Programs. ADO.NET (insert, update, view records)
ADO.NET (insert, update, view records) VB.NET Programs Database: Student Table : Studtab (adno, name, age, place) Controls: DataGridView, Insert button, View button, Update button, TextBox1 (for Admission
More informationTutorial 3: Shortest path Artificial Intelligence
Tutorial 3: Shortest path Artificial Intelligence G.Guérard Les étudiants doivent faire des groupes de 3-4 afin de faire un brainstorming pour chaque exercice. Il n est pas demandé aux étudiants d avoir
More informationVISUAL BASIC 2005 EXPRESS: NOW PLAYING
VISUAL BASIC 2005 EXPRESS: NOW PLAYING by Wallace Wang San Francisco ADVANCED DATA STRUCTURES: QUEUES, STACKS, AND HASH TABLES Using a Queue To provide greater flexibility in storing information, Visual
More informationThis PDF was generated in real-time using DynamicPDF; Generator for.net.
SelectPages.aspx 1 2
More informationThis PDF was generated in real-time using DynamicPDF; Generator for.net.
Charting.aspx 1 1 Imports System 2 Imports cete.dynamicpdf.pageelements 3 Imports cete.dynamicpdf 4 Imports
More informationVisual Studio.NET for AutoCAD Programmers
December 2-5, 2003 MGM Grand Hotel Las Vegas Visual Studio.NET for AutoCAD Programmers Speaker Name: Andrew G. Roe, P.E. Class Code: CP32-3 Class Description: In this class, we'll introduce the Visual
More informationUnit 4 Advanced Features of VB.Net
Dialog Boxes There are many built-in dialog boxes to be used in Windows forms for various tasks like opening and saving files, printing a page, providing choices for colors, fonts, page setup, etc., to
More informationTD : Compilateur ml2java semaine 3
Module 4I504-2018fev TD 3 page 1/7 TD : Compilateur ml2java semaine 3 Objectif(s) 22 février 2018 Manipulation d un traducteur de code ML vers Java. 1 ML2Java Exercice 1 Structure du runtime 1. Déterminer
More informationInteracting with External Applications
Interacting with External Applications DLLs - dynamic linked libraries: Libraries of compiled procedures/functions that applications link to at run time DLL can be updated independently of apps using them
More informationEXAMGOOD QUESTION & ANSWER. Accurate study guides High passing rate! Exam Good provides update free of charge in one year!
EXAMGOOD QUESTION & ANSWER Exam Good provides update free of charge in one year! Accurate study guides High passing rate! http://www.examgood.com Exam : 70-547(VB) Title : PRO:Design and Develop Web-Basd
More informationLab 4: Adding a Windows User-Interface
Lab 4: Adding a Windows User-Interface In this lab, you will cover the following topics: Creating a Form for use with Investment objects Writing event-handler code to interact with Investment objects Using
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 informationMATFOR In Visual Basic
Quick Start t t MATFOR In Visual Basic ANCAD INCORPORATED TEL: +886(2) 8923-5411 FAX: +886(2) 2928-9364 support@ancad.com www.ancad.com 2 MATFOR QUICK START Information in this instruction manual is subject
More informationInstallation des interfaces et utilisation de WorldCAT-CIF pour le catalogue CD Meusburger
Installation des interfaces et utilisation de pour le catalogue CD Meusburger 1. Condition préalable: lors de l installation du catalogue CD Meusburger, il faut avoir mis en place DAKO. 2. Veuillez vérifier
More informationSOUTH AFRICAN NATIONAL STANDARD
ISBN 978-0-626-33587-8 Edition 1.2 and IEC corr. 1, 2 :2013 Edition 2.2 and corr. 1, 2 SOUTH AFRICAN NATIONAL STANDARD Degrees of protection provided by enclosures (IP Code) This national standard is the
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 informationVB. Microsoft. TS- Microsoft.NET Framework 3.5 -C Windows Workflow Foundation
Microsoft 70-504-VB TS- Microsoft.NET Framework 3.5 -C Windows Workflow Foundation Download Full Version : https://killexams.com/pass4sure/exam-detail/70-504-vb C. Dim runtime As New WorkflowRuntime()Dim
More informationThis PDF was generated in real-time using DynamicPDF; Generator for.net.
Watermark.aspx 1 2
More informationLearning VB.Net. Tutorial 16 Modules
Learning VB.Net Tutorial 16 Modules Hello everyone welcome to vb.net tutorials. These are going to be very basic tutorials about using the language to create simple applications, hope you enjoy it. If
More informationOVERLOADING METHODS AND CONSTRUCTORS: The Ball Class
OVERLOADING METHODS AND CONSTRUCTORS: The Ball Class Create a Ball Demo program that uses a Ball class. Use the following UML diagram to create the Ball class: Ball - ballcolor: Color - ballwidth, ballheight:
More informationHow to obtain a certificate of equivalence?
How to obtain a certificate of equivalence? Why is it useful? You need the certificate if you want to apply to university. It will provide you an equivalent of your diploma in the French system. What documents
More informationRead me carefully before making your connections!
CROSS GAME USER GUIDE Read me carefully before making your connections! Warning: The CROSS GAME converter is compatible with most brands of keyboards and Gamer mice. However, we cannot guarantee 100% compatibility.
More informationA Second Visual BASIC Application : Greetings
The Greetings Program A Second Visual BASIC Application : Greetings The following instructions take you through the steps to create a simple application. A greeting is displayed in one of four different
More informationMember Management System
Member Management System These codes are provided ONLY for reference / Help developers. And also SUBMITTED IN PARTIAL FULFILLMENT OF THE REQUERMENT FOR THE AWARD OF BACHELOR OF COMPUTER APPLICATION (BCA)
More informationI101/B100 Problem Solving with Computers
I101/B100 Problem Solving with Computers By: Dr. Hossein Hakimzadeh Computer Science and Informatics IU South Bend 1 What is Visual Basic.Net Visual Basic.Net is the latest reincarnation of Basic language.
More information# Project Tracker Status Priority Subject Updated Category Target version 559 Auto Multiple 05/09/2018 1/10
Issues # Project Tracker Status Priority Subject Updated Category Target version 559 Auto Multiple Support New Normal automatisation de l'identification des questions 05/08/2018 11:44 557 Auto Multiple
More informationChapter 2 Exploration of a Visual Basic.Net Application
Chapter 2 Exploration of a Visual Basic.Net Application We will discuss in this chapter the structure of a typical Visual Basic.Net application and provide you with a simple project that describes the
More informationInfobel XmlAccess User Manual. Infobel XmlAccess. User Manual. Version 2.0. Page 1 of 45
Infobel XmlAccess User Manual Version 2.0 Page 1 of 45 Table of Content 1. INTRODUCTION... 4 1.1. General... 4 1.2. Glossary... 4 2. INFOBEL SEARCH SERVICE... 5 2.1. Access the Infobel Search Service...
More informationConception Orientée Objet. Romain Rouvoy Licence mention Informatique Université Lille 1
Conception Orientée Objet Romain Rouvoy Licence mention Informatique Université Lille 1 1 Menu du jour 1. Coder c est douter 2. De la génération 3. À l analyse 2 Mauvaise conception? Où est le problème?
More informationC16 Visual Basic Net Programming
C16 Visual Basic Net Programming Student ID Student Name Date - Module Tutor - 1 P a g e Report Contents Introduction... 2 Software Development Process... 3 Self Reflection... 6 References... 6 Appendices...
More informationUsing ASP.NET Code-Behind Without Visual Studio.NET
Pá gina 1 de 8 QUICK TIP: Using " in your Strings Using ASP.NET Code-Behind Without Visual Studio.NET Home News Samples Forum * Articles Resources Lessons Links Search Please visit our Partners by John
More informationC:\MasterPageWeb\HAPR\docu\HAPR_VB6_version15sept06.rtf 19/10/08. HARP_VB projet en VB6
HARP_VB projet en VB6 Option Explicit Dim Value As Integer Dim i As Integer Dim il As Long Dim LL, L1S, L250µS, L500µS, L1mS, L2mS, L5mS, L10mS As Single Dim offsetdepart As Long Dim police(256, 8) As
More informationMicrosoft Visual Basic 2005: Reloaded
Microsoft Visual Basic 2005: Reloaded Second Edition Chapter 10 Creating Classes and Objects Objectives After studying this chapter, you should be able to: Define a class Instantiate an object from a class
More information