How to open a new window that runs with ActiveX object?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • skyy
    New Member
    • May 2007
    • 109

    How to open a new window that runs with ActiveX object?

    Hi.. i want to create an application that run with ActiveX which allow user to keep in some data. This activeX window will pop up when user click on a button inside a PHP page. How do i do that?

    Thanks!
  • Purple
    Recognized Expert Contributor
    • May 2007
    • 404

    #2
    Hi Skyy,

    You can do this with javascript by firing the following:

    Code:
    window.open("your_url","win2","menubar=no,width=520,height=310,toolbar=no,status=yes,top=300,left=300")
    from the onclick event on your form. change your_url to the url of the page you want to run..

    Regards Purple

    Comment

    • skyy
      New Member
      • May 2007
      • 109

      #3
      Originally posted by Purple
      Hi Skyy,

      You can do this with javascript by firing the following:

      Code:
      window.open("your_url","win2","menubar=no,width=520,height=310,toolbar=no,status=yes,top=300,left=300")
      from the onclick event on your form. change your_url to the url of the page you want to run..

      Regards Purple

      Hi thanks.. that works well with the URL..

      But do you have any idea how to declare an activeX object linking to the pop up window? As in not using URL for the pop up window but a activeX application..

      Comment

      • Purple
        Recognized Expert Contributor
        • May 2007
        • 404

        #4
        Hi Skyy,

        have you taken a look at the <object> html element, read more here

        by combining this with the javascript you will get your popup running the activex control.

        let me know if this is not what you are after...

        Regards Purple

        Comment

        • skyy
          New Member
          • May 2007
          • 109

          #5
          Originally posted by Purple
          Hi Skyy,

          have you taken a look at the <object> html element, read more here

          by combining this with the javascript you will get your popup running the activex control.

          let me know if this is not what you are after...

          Regards Purple
          Hi.. yup i am trying to use the <object> tag to insert the object. Do you know if its possible to insert c++ object?

          If cant then i will have to create a ActiveX object and insert it using the <object> tag.

          Thanks!

          Comment

          • Purple
            Recognized Expert Contributor
            • May 2007
            • 404

            #6
            Hi Skyy,

            its not something I have tried, the book says:

            "Initially the object element was used to insert ActiveX controls, but according to the specification, an object can be any media object, document, applet, ActiveX control or even image."

            My suggestion would be to ask this question in the C/C++ forum for a definitive answer and some assistance.

            Regards Purple

            Comment

            Working...