Results 1 to 2 of 2

Thread: Asynchronous Legends Required

  1. #1

    Thread Starter
    New Member
    Join Date
    Aug 2001
    Posts
    1

    Exclamation Asynchronous Legends Required

    I am in the process of moving a VB application to a Web based solution.

    In essence the VB client application calls a report server via an asynchronous ActiveX exe using timers. This enables the client to continue to respond to the user while the report is being generated. Once the report is generated the client is informed as to the status of the report. This works GREAT.

    I have attempted to convert this for use within an ASP page but have been unsuccessful in running the ActiveX exe asynchronously.

    My current setup is:

    1. ASP page
    obj = Server.CreateObject(ActiveXexe#1 )
    obj.Execute

    2. ActiveX exe#1 (Database Objects)
    Private WithEvents ActiveXexe#2

    & with event procedure

    Private Sub ActiveXexe#2_ReportComplete

    3. ActiveX exe#2 (Report API Objects)
    Contains a form with a timer to release AX exe#2 prior to
    looping for the status of the report.


    The function Execute in ActiveX exe#1 calls ActiveX exe#2 which generates the report on the report server.

    Problem:
    The timer event does not fire in ActiveX exe#2 so I don't know when the report has complete.

    I have not tried to use asynchronous processing between ActiveX exes & am not sure if this is possible.

    Any assistance would be gratefully appreciated.

  2. #2
    jim mcnamara
    Guest
    You need interprocess communication, timers won't do it:

    Named pipes works very well for this:

    http://support.microsoft.com/support.../Q177/6/96.asp

    You can also use SendMessage with a user-defined message

    You can use semaphores, or mutexes also. Just NOT timers events.

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