Remote Scripting and COM

DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 3 of 3

Thread: Remote Scripting and COM

  1. #1
    Ching Chen Guest

    Remote Scripting and COM

    I am writing a web project which uses Remote Scripting and ActiveX COM created
    by VB6. Client's HTML calls to ASP remote scripting function which creates
    COM object inside it, doing all business logics. It works fine except that
    I can't get the value of parameter by reference back to HTML file. I can
    get value of remote scripting function returned though.

    Thanks, Ching Chen

  2. #2
    Bob Duffy Guest

    Re: Remote Scripting and COM

    Hi Ching,

    I have spent a lot of time trying to this and gave up for a number of
    a) I couldnt get paramters passed by reference, only the [return_value]
    b) The Java applet used by remote scripting is a bit slow to load initially
    c) Debugging remote script code is a very slow process.

    When I have need for remote business rules I do one of two things now.
    a) Use DCOM from the client page.
    b) make the client load a "hidden" ASP page using an <IFRAME> tag.

    Maybe one of these routes may help.


    Bob Duffy

  3. #3
    Sébastien Ros Guest

    Re: Remote Scripting and COM

    ASP only supports Variant type. So your parameters set ByRef must be
    Maybe this is the problem, if it doesn't, let us see a portion of the code.

    Sébastien Ros

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center
Latest Articles
Questions? Contact us.
Web Development
Latest Tips
Open Source

   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center