SlideShare a Scribd company logo
7
Most read
21
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

PPTX
Visual Basic Controls ppt
PPTX
Controls events
PDF
JavaScript - Chapter 12 - Document Object Model
PPTX
Css selectors
PDF
Introduction to HTML5
PPT
JDBC – Java Database Connectivity
PDF
VB.Net-Controls and events
Visual Basic Controls ppt
Controls events
JavaScript - Chapter 12 - Document Object Model
Css selectors
Introduction to HTML5
JDBC – Java Database Connectivity
VB.Net-Controls and events

What's hot (20)

PPTX
html forms
PPT
Javascript
PPT
Command line arguments.21
PPT
Php forms
PPT
Looping statements in Java
PPTX
Html form tag
PPSX
Javascript variables and datatypes
PPT
Class 5 - PHP Strings
PPTX
Dom(document object model)
PPT
Js ppt
PPTX
Form using html and java script validation
PPT
Working with color and font
PPTX
Sdi & mdi
PPT
1.python interpreter and interactive mode
PPTX
Event In JavaScript
PDF
JavaScript - Chapter 13 - Browser Object Model(BOM)
PPTX
Css types internal, external and inline (1)
PPTX
Validation Controls in asp.net
PPT
JQuery introduction
PPTX
Php string function
html forms
Javascript
Command line arguments.21
Php forms
Looping statements in Java
Html form tag
Javascript variables and datatypes
Class 5 - PHP Strings
Dom(document object model)
Js ppt
Form using html and java script validation
Working with color and font
Sdi & mdi
1.python interpreter and interactive mode
Event In JavaScript
JavaScript - Chapter 13 - Browser Object Model(BOM)
Css types internal, external and inline (1)
Validation Controls in asp.net
JQuery introduction
Php string function
Ad

Viewers also liked (8)

PPT
Active x
PPS
Jsp chapter 1
PPT
Active server pages
PPTX
Implicit objects advance Java
PPS
Jsp element
PPTX
Introduction ASP
PPT
Active Server Page(ASP)
PPTX
Client side scripting and server side scripting
Active x
Jsp chapter 1
Active server pages
Implicit objects advance Java
Jsp element
Introduction ASP
Active Server Page(ASP)
Client side scripting and server side scripting
Ad

Similar to Active x control (20)

DOC
9b4c1 vb(pd)
DOC
9b4c1 vb(pd) (2)
PPT
Visual studio.net
PDF
19.Advanced Visual Basic Lab.pdf
PPT
4.7.14&17.7.14&23.6.15&10.9.15
PDF
BCA IPU VB.NET UNIT-III
PPT
Buttons In .net Visual Basic
DOC
Practicalfileofvb workshop
PPT
IntroToDotNetTech
PPT
Introtodotnet
PDF
Visualbasic tutorial
PPTX
control structure in visual basic
PPT
Visual basic ppt for tutorials computer
PPT
Introduction to VB.Net By William Lacktano.ppt
PDF
Visual Basic Tutorials
PDF
Software engineering modeling lab lectures
DOCX
The visual studio start page is shown in the figure below
PPTX
Vb6.0 intro
PDF
Lab1
DOC
Visual basic
9b4c1 vb(pd)
9b4c1 vb(pd) (2)
Visual studio.net
19.Advanced Visual Basic Lab.pdf
4.7.14&17.7.14&23.6.15&10.9.15
BCA IPU VB.NET UNIT-III
Buttons In .net Visual Basic
Practicalfileofvb workshop
IntroToDotNetTech
Introtodotnet
Visualbasic tutorial
control structure in visual basic
Visual basic ppt for tutorials computer
Introduction to VB.Net By William Lacktano.ppt
Visual Basic Tutorials
Software engineering modeling lab lectures
The visual studio start page is shown in the figure below
Vb6.0 intro
Lab1
Visual basic

More from Amandeep Kaur (20)

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

Recently uploaded (20)

PDF
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
PPTX
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
PDF
Classroom Observation Tools for Teachers
PDF
Abdominal Access Techniques with Prof. Dr. R K Mishra
PPTX
Cell Structure & Organelles in detailed.
PDF
Physiotherapy_for_Respiratory_and_Cardiac_Problems WEBBER.pdf
PDF
Module 4: Burden of Disease Tutorial Slides S2 2025
PDF
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
PDF
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf
PPTX
IMMUNITY IMMUNITY refers to protection against infection, and the immune syst...
PPTX
master seminar digital applications in india
PDF
FourierSeries-QuestionsWithAnswers(Part-A).pdf
PDF
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
PDF
Mark Klimek Lecture Notes_240423 revision books _173037.pdf
PPTX
human mycosis Human fungal infections are called human mycosis..pptx
PDF
BÀI TẬP BỔ TRỢ 4 KỸ NĂNG TIẾNG ANH 9 GLOBAL SUCCESS - CẢ NĂM - BÁM SÁT FORM Đ...
PDF
RMMM.pdf make it easy to upload and study
PPTX
Introduction to Child Health Nursing – Unit I | Child Health Nursing I | B.Sc...
PDF
2.FourierTransform-ShortQuestionswithAnswers.pdf
PDF
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
Classroom Observation Tools for Teachers
Abdominal Access Techniques with Prof. Dr. R K Mishra
Cell Structure & Organelles in detailed.
Physiotherapy_for_Respiratory_and_Cardiac_Problems WEBBER.pdf
Module 4: Burden of Disease Tutorial Slides S2 2025
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf
IMMUNITY IMMUNITY refers to protection against infection, and the immune syst...
master seminar digital applications in india
FourierSeries-QuestionsWithAnswers(Part-A).pdf
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
Mark Klimek Lecture Notes_240423 revision books _173037.pdf
human mycosis Human fungal infections are called human mycosis..pptx
BÀI TẬP BỔ TRỢ 4 KỸ NĂNG TIẾNG ANH 9 GLOBAL SUCCESS - CẢ NĂM - BÁM SÁT FORM Đ...
RMMM.pdf make it easy to upload and study
Introduction to Child Health Nursing – Unit I | Child Health Nursing I | B.Sc...
2.FourierTransform-ShortQuestionswithAnswers.pdf
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf

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.