Results 1 to 3 of 3

Thread: Using ActiveX exe in a web page

  1. #1

    Thread Starter
    New Member
    Join Date
    Sep 2002
    Posts
    2

    Using ActiveX exe in a web page

    Hi,

    Is it possible to pass parameters to an ActiveX exe from a web page (using the <object> tags). The ActiveX exe I am using is an in-house build, and acts as a DDE wrapper for another application (hence we can't use an ActiveX dll or control).

    I need to pass certain parameters to the exe, and wondered if it was possible by passing the parameters on the command line (at the moment, the only thing passed on the command line is '-Embedded', and we're not passing this - I'm assuming the <object> tags are doing it), or by using the <param name=xxx value=yyy> tags.

    Any help anyone can offer would be hugely appreciated.

    TIA

    Si.

  2. #2
    Fanatic Member
    Join Date
    Feb 2000
    Location
    Dunmow,Essex,England
    Posts
    898
    The easiest way that I can think of is to create some public properties on the ActiveX.exe and just set them first from the asp page.

  3. #3

    Thread Starter
    New Member
    Join Date
    Sep 2002
    Posts
    2
    I assume this would work when the ativex exe is instansiated on the server, but what I'm trying to do is download and run it on the client (using <object> tags). The exe downloads and runs fine, but needs parameters to be passed to it.

    I don't think the properties of the ActiveX exe are exposed to the page this way. The only way I can think to pass parameters are to use <param> tags, but I don't know how to retrieve the values of these parameters in the exe.

    I've heard people mention PropertyBags, but I don't know if these work with exe's, or just ocx's. Even if they do, I don't know how to use them (examples would be very much appreciated, if anyone knows what I'm talking about).

    Si.
    Last edited by Simebaby; Sep 11th, 2002 at 08:17 AM.

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