SlideShare a Scribd company logo
5
Most read
7
Most read
22
Most read
Active x control
 What is Active x control

 Application

  - Clock
  - Calculator
 How we create Active x control

 How we can run Active x control
 ActiveXis a framework for defining reusable
 software components in a programming
 language independent way.
 Calculator For Addition



 System Clock
 First we start the VB then this dialog box will
  appears then click on active x control.
Active x control
   Now we create a simple calculator for addition. Give the
    name to project is calculatorcontrol from property window.
   Click on the command button(=) . Then coding window will
    open now we write the code is:
 Now click on project menu and add a form
   Now component is alive in toolbox click on that component
    and drag on the screen.
 Now we set the property for execution
   Select standard EXE from project type form1 from startup
    project.
 Now execute it .
 First we start the VB then this dialog box
  appears. click on active x control.
   Now draw clock on it and give name clockcontrol to project
    from property window
   Coding is write on the timer , button & usercontrol button is:
   Private Sub Command1_Click()
   Timer1.Enabled = False
   End Sub
   Private Sub Timer1_Timer()
   h = Hour(Time)
   lblhours.Caption = h
   m = Minute(Time)
   lblmin.Caption = m
   s = Second(Time)
   lblsec.Caption = s
   End Sub
   Private Sub UserControl_Initialize()
   Timer1.Enabled = True

   End Sub
 Now add form from project menu.
   Now clock component is alive in toolbox click on it and
    drag on the form.
 Now we set the property for execution
   Select standard EXE from project type form1 from
    startup project.
 Now execute it.
Active x control

More Related Content

What's hot (20)

PPTX
Variable scope ppt in vb6
AmanHooda4
 
PPTX
Visual Basic Controls ppt
Ranjuma Shubhangi
 
PDF
JavaScript - Chapter 12 - Document Object Model
WebStackAcademy
 
PPT
Web Development using HTML & CSS
Shashank Skills Academy
 
PDF
Visual Basic 6.0
Anjan Mahanta
 
PPTX
Php.ppt
Nidhi mishra
 
PDF
4.2 PHP Function
Jalpesh Vasa
 
PPT
screen output and keyboard input in js
chauhankapil
 
PPTX
Event Handling in java
Google
 
PPTX
HTML Forms
Ravinder Kamboj
 
PPTX
Html images syntax
JayjZens
 
PPTX
Java awt (abstract window toolkit)
Elizabeth alexander
 
PDF
Basics of JavaScript
Bala Narayanan
 
PPTX
Event In JavaScript
ShahDhruv21
 
PPT
Introduction to .NET Framework
Raghuveer Guthikonda
 
PDF
JavaScript - Chapter 8 - Objects
WebStackAcademy
 
PPTX
Classes objects in java
Madishetty Prathibha
 
PPT
Visual Basic menu
kuldeep94
 
PPTX
Form Validation in JavaScript
Ravi Bhadauria
 
PPT
Introduction to JavaScript (1).ppt
MuhammadRehan856177
 
Variable scope ppt in vb6
AmanHooda4
 
Visual Basic Controls ppt
Ranjuma Shubhangi
 
JavaScript - Chapter 12 - Document Object Model
WebStackAcademy
 
Web Development using HTML & CSS
Shashank Skills Academy
 
Visual Basic 6.0
Anjan Mahanta
 
Php.ppt
Nidhi mishra
 
4.2 PHP Function
Jalpesh Vasa
 
screen output and keyboard input in js
chauhankapil
 
Event Handling in java
Google
 
HTML Forms
Ravinder Kamboj
 
Html images syntax
JayjZens
 
Java awt (abstract window toolkit)
Elizabeth alexander
 
Basics of JavaScript
Bala Narayanan
 
Event In JavaScript
ShahDhruv21
 
Introduction to .NET Framework
Raghuveer Guthikonda
 
JavaScript - Chapter 8 - Objects
WebStackAcademy
 
Classes objects in java
Madishetty Prathibha
 
Visual Basic menu
kuldeep94
 
Form Validation in JavaScript
Ravi Bhadauria
 
Introduction to JavaScript (1).ppt
MuhammadRehan856177
 

Viewers also liked (8)

PPT
Active x
andrew20827
 
PPS
Jsp chapter 1
kamal kotecha
 
PPT
Active server pages
mcatahir947
 
PPTX
Implicit objects advance Java
Darshit Metaliya
 
PPS
Jsp element
kamal kotecha
 
PPTX
Introduction ASP
FaTin GhaZmi
 
PPT
Active Server Page(ASP)
Keshab Nath
 
PPTX
Client side scripting and server side scripting
baabtra.com - No. 1 supplier of quality freshers
 
Active x
andrew20827
 
Jsp chapter 1
kamal kotecha
 
Active server pages
mcatahir947
 
Implicit objects advance Java
Darshit Metaliya
 
Jsp element
kamal kotecha
 
Introduction ASP
FaTin GhaZmi
 
Active Server Page(ASP)
Keshab Nath
 
Client side scripting and server side scripting
baabtra.com - No. 1 supplier of quality freshers
 
Ad

Similar to Active x control (20)

DOC
9b4c1 vb(pd) (2)
Mukund Trivedi
 
DOC
9b4c1 vb(pd)
Mukund Trivedi
 
PPT
Notify progresscontrol
mohamedsaad24
 
PDF
Software engineering modeling lab lectures
marwaeng
 
PDF
Vbtutorial
dhi her
 
PDF
Introduction
شكسبير ويليام
 
PPTX
SPF WinForm Programs
Hock Leng PUAH
 
PPTX
Spf chapter 03 WinForm
Hock Leng PUAH
 
PPT
06 win forms
mrjw
 
PDF
Gui builder
learnt
 
PPTX
Chapter1 of programming object orienteds
ag3777499
 
PPTX
Vb6.0 intro
JOSEPHINEA6
 
DOCX
COSC 1436 Project Page 1 Pre Project Example Secti.docx
faithxdunce63732
 
PPTX
intro_gui
filipb2
 
PPTX
Introduction to GUIs with guizero
primeteacher32
 
PPT
Google calendar integration in iOS app
Ketan Raval
 
DOC
Practicalfileofvb workshop
dhi her
 
PPTX
3.5 the controls object
allenbailey
 
PPTX
Vp lecture 7 ararat
Saman M. Almufti
 
PDF
Content
o3aroo
 
9b4c1 vb(pd) (2)
Mukund Trivedi
 
9b4c1 vb(pd)
Mukund Trivedi
 
Notify progresscontrol
mohamedsaad24
 
Software engineering modeling lab lectures
marwaeng
 
Vbtutorial
dhi her
 
SPF WinForm Programs
Hock Leng PUAH
 
Spf chapter 03 WinForm
Hock Leng PUAH
 
06 win forms
mrjw
 
Gui builder
learnt
 
Chapter1 of programming object orienteds
ag3777499
 
Vb6.0 intro
JOSEPHINEA6
 
COSC 1436 Project Page 1 Pre Project Example Secti.docx
faithxdunce63732
 
intro_gui
filipb2
 
Introduction to GUIs with guizero
primeteacher32
 
Google calendar integration in iOS app
Ketan Raval
 
Practicalfileofvb workshop
dhi her
 
3.5 the controls object
allenbailey
 
Vp lecture 7 ararat
Saman M. Almufti
 
Content
o3aroo
 
Ad

More from Amandeep Kaur (20)

PPTX
Video/ Graphics cards
Amandeep Kaur
 
DOCX
Menu vb
Amandeep Kaur
 
PPTX
Menu pop up menu mdi form and playing audio in vb
Amandeep Kaur
 
PPTX
Image contro, and format functions in vb
Amandeep Kaur
 
PPTX
Data base connectivity and flex grid in vb
Amandeep Kaur
 
PPTX
Toolbar, statusbar, coolbar in vb
Amandeep Kaur
 
PPTX
Richtextbox
Amandeep Kaur
 
PPTX
Treeview listview
Amandeep Kaur
 
PPTX
Progress bar
Amandeep Kaur
 
PPTX
Filehandling
Amandeep Kaur
 
DOC
Socket
Amandeep Kaur
 
PPT
Ppt of socket
Amandeep Kaur
 
PPT
Introduction to computer graphics
Amandeep Kaur
 
PPT
Introduction to computer graphics
Amandeep Kaur
 
PPT
Introduction to computer graphics
Amandeep Kaur
 
PPT
Internet
Amandeep Kaur
 
DOCX
Internet working
Amandeep Kaur
 
DOC
Report on browser war
Amandeep Kaur
 
DOC
Report of internet connections
Amandeep Kaur
 
DOCX
Report on intranet
Amandeep Kaur
 
Video/ Graphics cards
Amandeep Kaur
 
Menu vb
Amandeep Kaur
 
Menu pop up menu mdi form and playing audio in vb
Amandeep Kaur
 
Image contro, and format functions in vb
Amandeep Kaur
 
Data base connectivity and flex grid in vb
Amandeep Kaur
 
Toolbar, statusbar, coolbar in vb
Amandeep Kaur
 
Richtextbox
Amandeep Kaur
 
Treeview listview
Amandeep Kaur
 
Progress bar
Amandeep Kaur
 
Filehandling
Amandeep Kaur
 
Ppt of socket
Amandeep Kaur
 
Introduction to computer graphics
Amandeep Kaur
 
Introduction to computer graphics
Amandeep Kaur
 
Introduction to computer graphics
Amandeep Kaur
 
Internet
Amandeep Kaur
 
Internet working
Amandeep Kaur
 
Report on browser war
Amandeep Kaur
 
Report of internet connections
Amandeep Kaur
 
Report on intranet
Amandeep Kaur
 

Recently uploaded (20)

PDF
BÀI TẬP TEST BỔ TRỢ THEO TỪNG CHỦ ĐỀ CỦA TỪNG UNIT KÈM BÀI TẬP NGHE - TIẾNG A...
Nguyen Thanh Tu Collection
 
PPTX
Dakar Framework Education For All- 2000(Act)
santoshmohalik1
 
PPTX
Rules and Regulations of Madhya Pradesh Library Part-I
SantoshKumarKori2
 
PPTX
Continental Accounting in Odoo 18 - Odoo Slides
Celine George
 
PPTX
How to Close Subscription in Odoo 18 - Odoo Slides
Celine George
 
PDF
EXCRETION-STRUCTURE OF NEPHRON,URINE FORMATION
raviralanaresh2
 
PPTX
HEALTH CARE DELIVERY SYSTEM - UNIT 2 - GNM 3RD YEAR.pptx
Priyanshu Anand
 
PPTX
Cybersecurity: How to Protect your Digital World from Hackers
vaidikpanda4
 
PPTX
INTESTINALPARASITES OR WORM INFESTATIONS.pptx
PRADEEP ABOTHU
 
PPTX
Cleaning Validation Ppt Pharmaceutical validation
Ms. Ashatai Patil
 
PPT
DRUGS USED IN THERAPY OF SHOCK, Shock Therapy, Treatment or management of shock
Rajshri Ghogare
 
PPTX
CONCEPT OF CHILD CARE. pptx
AneetaSharma15
 
PPTX
I INCLUDED THIS TOPIC IS INTELLIGENCE DEFINITION, MEANING, INDIVIDUAL DIFFERE...
parmarjuli1412
 
PPTX
Introduction to pediatric nursing in 5th Sem..pptx
AneetaSharma15
 
PPTX
Electrophysiology_of_Heart. Electrophysiology studies in Cardiovascular syste...
Rajshri Ghogare
 
PPTX
Basics and rules of probability with real-life uses
ravatkaran694
 
PPTX
The Future of Artificial Intelligence Opportunities and Risks Ahead
vaghelajayendra784
 
PDF
The-Invisible-Living-World-Beyond-Our-Naked-Eye chapter 2.pdf/8th science cur...
Sandeep Swamy
 
PPTX
Command Palatte in Odoo 18.1 Spreadsheet - Odoo Slides
Celine George
 
PPTX
How to Track Skills & Contracts Using Odoo 18 Employee
Celine George
 
BÀI TẬP TEST BỔ TRỢ THEO TỪNG CHỦ ĐỀ CỦA TỪNG UNIT KÈM BÀI TẬP NGHE - TIẾNG A...
Nguyen Thanh Tu Collection
 
Dakar Framework Education For All- 2000(Act)
santoshmohalik1
 
Rules and Regulations of Madhya Pradesh Library Part-I
SantoshKumarKori2
 
Continental Accounting in Odoo 18 - Odoo Slides
Celine George
 
How to Close Subscription in Odoo 18 - Odoo Slides
Celine George
 
EXCRETION-STRUCTURE OF NEPHRON,URINE FORMATION
raviralanaresh2
 
HEALTH CARE DELIVERY SYSTEM - UNIT 2 - GNM 3RD YEAR.pptx
Priyanshu Anand
 
Cybersecurity: How to Protect your Digital World from Hackers
vaidikpanda4
 
INTESTINALPARASITES OR WORM INFESTATIONS.pptx
PRADEEP ABOTHU
 
Cleaning Validation Ppt Pharmaceutical validation
Ms. Ashatai Patil
 
DRUGS USED IN THERAPY OF SHOCK, Shock Therapy, Treatment or management of shock
Rajshri Ghogare
 
CONCEPT OF CHILD CARE. pptx
AneetaSharma15
 
I INCLUDED THIS TOPIC IS INTELLIGENCE DEFINITION, MEANING, INDIVIDUAL DIFFERE...
parmarjuli1412
 
Introduction to pediatric nursing in 5th Sem..pptx
AneetaSharma15
 
Electrophysiology_of_Heart. Electrophysiology studies in Cardiovascular syste...
Rajshri Ghogare
 
Basics and rules of probability with real-life uses
ravatkaran694
 
The Future of Artificial Intelligence Opportunities and Risks Ahead
vaghelajayendra784
 
The-Invisible-Living-World-Beyond-Our-Naked-Eye chapter 2.pdf/8th science cur...
Sandeep Swamy
 
Command Palatte in Odoo 18.1 Spreadsheet - Odoo Slides
Celine George
 
How to Track Skills & Contracts Using Odoo 18 Employee
Celine George
 

Active x control

  • 2.  What is Active x control  Application - Clock - Calculator  How we create Active x control  How we can run Active x control
  • 3.  ActiveXis a framework for defining reusable software components in a programming language independent way.
  • 4.  Calculator For Addition  System Clock
  • 5.  First we start the VB then this dialog box will appears then click on active x control.
  • 7. Now we create a simple calculator for addition. Give the name to project is calculatorcontrol from property window.
  • 8. Click on the command button(=) . Then coding window will open now we write the code is:
  • 9.  Now click on project menu and add a form
  • 10. Now component is alive in toolbox click on that component and drag on the screen.
  • 11.  Now we set the property for execution
  • 12. Select standard EXE from project type form1 from startup project.
  • 14.  First we start the VB then this dialog box appears. click on active x control.
  • 15. Now draw clock on it and give name clockcontrol to project from property window
  • 16. Coding is write on the timer , button & usercontrol button is:  Private Sub Command1_Click()  Timer1.Enabled = False  End Sub  Private Sub Timer1_Timer()  h = Hour(Time)  lblhours.Caption = h  m = Minute(Time)  lblmin.Caption = m  s = Second(Time)  lblsec.Caption = s  End Sub  Private Sub UserControl_Initialize()  Timer1.Enabled = True  End Sub
  • 17.  Now add form from project menu.
  • 18. Now clock component is alive in toolbox click on it and drag on the form.
  • 19.  Now we set the property for execution
  • 20. Select standard EXE from project type form1 from startup project.