BrainDump
  Home arrow BrainDump arrow Page 2 - Making Your First Active X Control in Visu...
ASP Free Forums 
.NET  
ASP  
ASP Code  
ASP.NET  
ASP.NET Code  
BrainDump  
C#  
Code Examples  
Database  
Database Code  
IIS  
Microsoft Access  
MS SQL Server  
Silverlight  
Visual Basic.NET  
Windows Scripting  
Windows Security  
XML  
Mobile Linux 
App Generation ROI 
IBM® developerWorks 
ASP Web Hosting  
ASP.NET Web Hosting 
Windows Web Hosting
 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
BRAINDUMP

Making Your First Active X Control in Visual Basic
By: Katie Gatto
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 4 stars4 stars4 stars4 stars4 stars / 7
    2008-07-09

    Table of Contents:
  • Making Your First Active X Control in Visual Basic
  • Steps 1-4
  • Steps 5-8
  • Steps 9-11

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    ADVERTISEMENT


    Making Your First Active X Control in Visual Basic - Steps 1-4


    (Page 2 of 4 )


    Step One: Open Visual Basic

    This first step will be the easiest. So take that baby step in the right direction and open the Visual Basic program. You can do this by double clicking on the Visual Basic program icon, or by finding the program in the start menu. This will take you to a screen that asks you if you want to make a new program or open an existing one, which leads us to...

    Step Two: Make a choice

    If you are looking to add this brand new Active X control to a program that you are already working on, then open up that program, post haste. If, however you are just testing out your new skill (a practice run) then open a new project.

    Step Three: Break down what you're making

    Identify the kind of control that you will make, and what you want it to do. For the purposes of this example you are going to make a spinner box. In case you don't know what a spinner box is, picture a text box with numbers inside; next to it is a set of arrows, one is pointing up and the other is pointing down. When you click on an arrow the number in the box goes up or down. You have probably seen these before, and just not known the proper name.

    Now that we know what we are making let's decide what elements we will need in order to make a spinner box. In this case we will need to have a text box and a vertical scroll bar.

    Step Four: Make a container

    Access the file menu in your open projects and add a new, blank Active X control. In some versions you can use the add project command option for this. Before you now should be a new blank grid for you to work with. This is the location where the real magic will happen; this is where we will make your new Active X control. This step is important because the Active X control needs a container to run properly.

    More BrainDump Articles
    More By Katie Gatto


       · I've read a lot of these posts and these tutorials this one was really great!
     

    BRAINDUMP ARTICLES

    - Introduction to Office Live Workspace
    - Using MS Excel for One-way Analysis of Varia...
    - Comparing Data Sets Using Statistical Analys...
    - Import Blogger Posts into WordPress Using Wi...
    - Download WordPress from an FTP Server and Ru...
    - Install and Run WordPress in XAMPP Local Host
    - What Windows 7 Brings to the Table
    - Virtualization and Sandbox Detection
    - Advanced Firebug Techniques in Windows XP Ho...
    - Editing CSS with Firebug in Windows XP Home
    - Using Firebug in Windows XP Home
    - Migrating to Exchange Server 2007
    - Using System Restore on a Non-Bootable PC
    - Finding Logged on Users and More Scripting S...
    - Developing Macro Commands in MS Excel





    © 2003-2009 by Developer Shed. All rights reserved. DS Cluster 6 Hosted by Hostway
    Stay green...Green IT