Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. COM
  4. Make a call to my ActiveX from my webpage.

Make a call to my ActiveX from my webpage.

Scheduled Pinned Locked Moved COM
comc++question
6 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    anderslundsgard
    wrote on last edited by
    #1

    Hi! At this time I’m only using the ActiveX technology to publish my MFC application on the net. I’m about to make a call to may webpage like this: http://www.mypage.com?user=bill&password=12345 How may I pass the “user” and the “password” into my ActiveX? All suggestions are helpful. _____________________________ ...and justice for all APe

    D 1 Reply Last reply
    0
    • A anderslundsgard

      Hi! At this time I’m only using the ActiveX technology to publish my MFC application on the net. I’m about to make a call to may webpage like this: http://www.mypage.com?user=bill&password=12345 How may I pass the “user” and the “password” into my ActiveX? All suggestions are helpful. _____________________________ ...and justice for all APe

      D Offline
      D Offline
      darkbyte
      wrote on last edited by
      #2

      how do you access your activex object ? is it using the < object > tag ? if so, how about you use the other tags that it can use (i cant remember the syntax) < param user='< %=Request("user")%>' > < param password='< %=Request("password")% > ' > if you instantiate your control server side: < % myActiveX = new ActiveX("MyProg.Id"); myActiveX.User = String(Request("user")); or myActiveX.SetUser(String(Request("user")), String(Request("password"))); % > my script code is in JScript since this is the flavor i prefer, but the same can be achieved using VBScript.

      A 1 Reply Last reply
      0
      • D darkbyte

        how do you access your activex object ? is it using the < object > tag ? if so, how about you use the other tags that it can use (i cant remember the syntax) < param user='< %=Request("user")%>' > < param password='< %=Request("password")% > ' > if you instantiate your control server side: < % myActiveX = new ActiveX("MyProg.Id"); myActiveX.User = String(Request("user")); or myActiveX.SetUser(String(Request("user")), String(Request("password"))); % > my script code is in JScript since this is the flavor i prefer, but the same can be achieved using VBScript.

        A Offline
        A Offline
        anderslundsgard
        wrote on last edited by
        #3

        darkbyte wrote: is it using the < object > tag ? if so, how about you use the other tags that it can use (i cant remember the syntax) < param user='< %=Request("user")%>' > < param password='< %=Request("password")% > ' > ------------ I'm using the tag. Should I create a Property or a Method for my ActiveX (I'm using the ClassWizard in Visual Studio C++) How to call any of these metods from the obect tag? Tnx. _____________________________ ...and justice for all APe

        D 1 Reply Last reply
        0
        • A anderslundsgard

          darkbyte wrote: is it using the < object > tag ? if so, how about you use the other tags that it can use (i cant remember the syntax) < param user='< %=Request("user")%>' > < param password='< %=Request("password")% > ' > ------------ I'm using the tag. Should I create a Property or a Method for my ActiveX (I'm using the ClassWizard in Visual Studio C++) How to call any of these metods from the obect tag? Tnx. _____________________________ ...and justice for all APe

          D Offline
          D Offline
          darkbyte
          wrote on last edited by
          #4

          I think that any public property should be available for use in param tags. but i would search any infos regarding < object > tag to see if anything can help. DarkByte

          A 1 Reply Last reply
          0
          • D darkbyte

            I think that any public property should be available for use in param tags. but i would search any infos regarding < object > tag to see if anything can help. DarkByte

            A Offline
            A Offline
            anderslundsgard
            wrote on last edited by
            #5

            Ok, any idea where to search for tag. I've googled but no solution to my problem... _____________________________ ...and justice for all APe

            D 1 Reply Last reply
            0
            • A anderslundsgard

              Ok, any idea where to search for tag. I've googled but no solution to my problem... _____________________________ ...and justice for all APe

              D Offline
              D Offline
              darkbyte
              wrote on last edited by
              #6

              http://www.w3.org/TR/REC-html40/struct/objects.html[^] This should explains the semantics of Object tag and Param tags.

              1 Reply Last reply
              0
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • World
              • Users
              • Groups