Lecture On VB - Net With Oracle Database
Lecture On VB - Net With Oracle Database
Net Seminar
JONI NEIL B. CAPUCAO
Master of Information Technology
Institute of Information Technology
College of Arts and Sciences
Partido State University
February 27-28, 2016
1. Introduction
Microsoft .NET
Visual Studio 2012
Visual Studio Integrated Development Environment
Creating and Saving Projects
Activity 1
Lesson
2. Building Interfaces
Customizing Forms
Adding Controls to the
Activity 2
Lesson
Form
Understanding Procedures
Handling Errors
Activity 3
and Functions
Hands on Exercises
Lesson 1.
Introduction
http://www.microsoft.com/net/
.NET
SQL 2000
Exchange 2000
ISA 2000
.NET Framework
Visual Studio.NET
Windows.NET
Services
An
.NET
.NET
User Experience
Device Software
Enables a new breed of smart Internet devices that can leverage Web
Services
http://www.microsoft.com/business/vision/netvision.asp
.NET Framework
Common metadata
Language/Hardware/OS Independent
VB
C#
C++
Compiler
Compiler
Compiler
Assembly
IL Code
Assembly
IL Code
Assembly
IL Code
Unmanaged
Component
Data (ADO.NET)
Windows Forms
XML Classes
Drawing Classes
System Classes
Collections, Diagnostics, Globalization, IO, Security,
Threading Serialization, Reflection, Messaging etc
Visual Studio.NET
Integrated
Visual
Development Environment
Basic.NET
Inheritance,
Visual
C++
Integration
(classes)
C#
New
development language
Based
http://msdn.microsoft.com/vstudio
VS.NET Features
Single
Integrated
IE Browser
HTML/XML Editors
Macros/Macro
Explorer
Solution Explorer
Tabbed Documents
Dynamic Help
Common Forms Editor
VB.NET, C++,
and C#
Visual Basic.NET
"Visual" refers to the method used to create what the user seesthegraphical
user interface, or GUI.
You may also use the search windows to locate Visual Studio 2012.
Click Ok button to
proceed to the Project
Page.
the Properties
window
the toolboxwhich
contains many useful
controls that allows a
programmer
todevelophis or her
VB programs.
Open the Options dialog (Tools -> Options). Under Environment -> General, the first
setting is "Color theme." You can use this to switch between Light and Dark.
Saving
Project
Activity 1
Forms
Window
Window
DEMO
MDI
Form, Forms
prefix
Example
Database
db
dbAccounts
Check box
chk
chkReadOnly
cbo
cboEnglish
Command button
cmd
cmdExit
Common dialog
dlg
dlgFileOpen
Date picker
dtp
dtpPublished
Form
frm
frmEntry
Frame
fra
fraLanguage
Image
img
imgIcon
Label
lbl
lblHelpMessage
prefix
Example
List box
lst
lstPolicyCodes
ListView
lvw
lvwHeadings
Menu
mnu
mnuFileOpen
Option button
opt
optGender
Picture box
pic
picVGA
ProgressBar
prg
prgLoadFile
StatusBar
sta
staDateTime
User
usr
usrNew
Text box
txt
txtLastName
Timer
tmr
tmrAlarm
Activity 2
Activity 2
Name - frmMain
Name
mnuMain
File
Exit
(mnuExit)
Name - staMain
Date - staDate
ACTIVITY 3
Understanding
Functions
Functions
Procedures or Subroutine
Handling Errors
Only
The
In
If
However, you
The values of the properties of theErrobject are determined by the error that just
occurred
Activity 3
PART II
Walkthrough
ODP.NET
Activity 4
Lesson 5
Creating
adding
I guess the issue is that it is often the developers who haven't yet
learned to pay attention to these things who are the ones that bound
controls are most attractive to, so the code produced ends up being
less than ideal.
I guess the issue is that it is often the developers who haven't yet
learned to pay attention to these things who are the ones that bound
controls are most attractive to, so the code produced ends up being
less than ideal.
Which to use?
Which to use?
Which to use?
Activity 5
HANDS ON EXERCISES