Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 6 of 6
  1. #1
    New to the CF scene
    Join Date
    Oct 2007
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    add activex in HTML

    Hi,
    I am new to add activex control in HTML.
    I am having trouble to add activex control in HTML.

    My tried coding is

    Code:
    <HTML>
     <HEAD>
      <TITLE>Customer Data</TITLE>
     </HEAD>
     
     <BODY>
     <FORM>
      phone: 
           <OBJECT 
            ID="Phone"
            CLASSID="clsid:C932BA85-4374-101B-A56C-00AA003668DC"
            CODEBASE="/Controls/msmask32.ocx"
            WIDTH="120"
            HEIGHT="25">
            <PARAM NAME="Appearance" VALUE="1"></PARAM>
            <PARAM NAME="BoderStyle" VALUE="1"></PARAM>
            <PARAM NAME="Mask" VALUE="(###) ###-####"></PARAM>
           </object>
     </FORM>
     </BODY>
    I was expecting the box with ( )- and it waits for the user to enter data.
    but the box inside just has red x.why.please help me on this.
    Last edited by madhan; 10-02-2007 at 03:42 PM.

  • #2
    Regular Coder
    Join Date
    Apr 2006
    Posts
    117
    Thanks
    2
    Thanked 0 Times in 0 Posts
    I'm a little confused on what you are trying to do.

    Are you trying to make an input field for a person to enter information into, or?

    What is the ActiveX control you are trying to add?

    It would help if you could give me a visual at what you are going for... Do you have a link?

  • #3
    Master Coder felgall's Avatar
    Join Date
    Sep 2005
    Location
    Sydney, Australia
    Posts
    6,610
    Thanks
    0
    Thanked 645 Times in 635 Posts
    Is this for an intranet or do you have other code that will handle the situation where visitors are using modern web browsers rather than IE?
    Stephen
    Learn Modern JavaScript - http://javascriptexample.net/
    Helping others to solve their computer problem at http://www.felgall.com/

    Don't forget to start your JavaScript code with "use strict"; which makes it easier to find errors in your code.

  • #4
    New to the CF scene
    Join Date
    Oct 2007
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Thanks for trying to help me.

    I want to finish my assignment real soon.
    That asked

    You Add masked edit controls to the Customer Data page

    Now you will add ActiveX controls to the Customer Data page.

    Open the Customer Data page with Notepad.
    Add a row to the table for Phone and Fax information.
    Retrieve the class ID for the Microsoft Masked Edit control.
    This control is installed with Visual Basic. If it isn't installed on your computer, the class ID is: C932BA85-4374-101B-A56C-00AA003668DC.

    Add two <OBJECT> tags to the Customer Data page for the Phone and Fax masked edit controls. For each <OBJECT> tag:
    Set the CLASSID parameter to the class ID of the masked edit control.
    Set the ID parameter to Phone or Fax, respectively.
    Set the width to 120 and the height to 25.
    For each <OBJECT> tag, set the CODEBASE parameter:
    Create a Controls directory in the root of the Main Street Market Web site, and copy the masked edit control, MSMask32.ocx, from the HTML_Course\Online_HTML_Tutorial\Labs\Lab2.3 directory to the Controls directory.
    Set the CODEBASE parameter of the <OBJECT> tag to point to this file.
    If you are unsure of the syntax for the <OBJECT> tag, look at this solution code:

    Initialize the following properties with PARAM tags.

    Property
    Value

    Appearance
    1

    BorderStyle
    1

    Mask
    (###) ###-####



    Note In Lab 4, you will change the Mask, based on which country is selected.

    The two masked edit controls should look like the following:

    Phone ( ) -

    Save your changes to the Customer Data page.

    Please help me to start working on this properly.

  • #5
    New to the CF scene
    Join Date
    Oct 2007
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Thanks for trying to help me.

    I want to finish my assignment real soon.
    That asked

    You Add masked edit controls to the Customer Data page

    Now you will add ActiveX controls to the Customer Data page.

    Open the Customer Data page with Notepad.
    Add a row to the table for Phone and Fax information.
    Retrieve the class ID for the Microsoft Masked Edit control.
    This control is installed with Visual Basic. If it isn't installed on your computer, the class ID is: C932BA85-4374-101B-A56C-00AA003668DC.

    Add two <OBJECT> tags to the Customer Data page for the Phone and Fax masked edit controls. For each <OBJECT> tag:
    Set the CLASSID parameter to the class ID of the masked edit control.
    Set the ID parameter to Phone or Fax, respectively.
    Set the width to 120 and the height to 25.
    For each <OBJECT> tag, set the CODEBASE parameter:
    Create a Controls directory in the root of the Main Street Market Web site, and copy the masked edit control, MSMask32.ocx, from the HTML_Course\Online_HTML_Tutorial\Labs\Lab2.3 directory to the Controls directory.
    Set the CODEBASE parameter of the <OBJECT> tag to point to this file.
    If you are unsure of the syntax for the <OBJECT> tag, look at this solution code:

    Initialize the following properties with PARAM tags.

    Property
    Value

    Appearance
    1

    BorderStyle
    1

    Mask
    (###) ###-####



    Note In Lab 4, you will change the Mask, based on which country is selected.

    The two masked edit controls should look like the following:

    Phone ( ) -

    Save your changes to the Customer Data page.

    Please help me to start working on this properly.

    I am trying to enter the user information into.

    What activx control i am using? I am not sure about this.
    But the lab question issued the class ID is: C932BA85-4374-101B-A56C-00AA003668DC.

  • #6
    Senior Coder
    Join Date
    Nov 2003
    Location
    Minneapolis, MN
    Posts
    2,879
    Thanks
    2
    Thanked 65 Times in 56 Posts
    No fair getting help on homework assignments—it's in our Rules. Either way, your actual issue is out of the realm of HTML.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •