CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    May 2003
    Location
    United Kingdom
    Posts
    18

    Question How to interact with ActiveX

    Hi,
    I have created an activeX, now I want to interact with it and be able to send parameters but I cant, for some reason when the object is added to the web page using microsoft control pad, I can't send values to it, and at the end of the activex I get an error message saying that it is not safe. But if I dont send parameters, and just execute the activex then everything works fine.
    I have tried to create an activeXobject with JavaScript but I also get an error saying that the automation server cant create the object.

    please help

  2. #2
    Join Date
    Jan 2003
    Posts
    15

    what kind of ActiveX this is?

    Let us know more about the ActiveX control that u have written. Whether an VC++ (COM/MFC) or VB or......... control?

    Regards,

    Mahesh

  3. #3
    Join Date
    May 2003
    Location
    United Kingdom
    Posts
    18

    About the activeX

    Hi,
    first of all thanks for the interes maheshperumal

    the activex is been created using MFC.

    I need to create an activex which would read information from

    the client computer and it would receive parameters from the

    webpage, I have tried to pass the parameters with the "param"

    tag, but I haven't been successful. I know that I have to

    implement the get/set methods but this is my first application in

    MFC and I am totally lost.

    I am attaching the ActiveX I have created just in case you would like to have a look, it is a very simple ActiveX which reads information from some files pre-installed in the machine.


    *************************************************

    "Software is like sex, it's better when it's free."

    Attached Files Attached Files

Posting Permissions

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





Click Here to Expand Forum to Full Width

Featured