Results 1 to 2 of 2

Thread: VB and MTS, Can't run more then one Object in MTS Explorer

  1. #1

    Thread Starter
    New Member
    Join Date
    Aug 2000
    Posts
    1

    Exclamation

    I am instantiating the VB6 Com object from an ASP page.
    The COM object is easy.. It counts to 2000000 (For loop) and returns the
    time it finished. (Simple test)

    I run the ASP page 3-4 times and I can see in MTS Explorer is queuing the requests vs.
    doing them together. VFP6(Visual FoxPro) can do all of them at the same time
    and MTS' Explorer will show that..
    Please give me an example or point me in the right direction. I need to have
    many instances running at a time.. (MultiThread Type)

    PS I know that it uses the same threading as VFP!!

    Thanks.
    Christian Waldron

  2. #2
    Fanatic Member
    Join Date
    Feb 2000
    Location
    Dunmow,Essex,England
    Posts
    898

    Cool

    Hi,

    I think I understand your question. There are a couple of things to try.

    First off the class instancing in VB needs to be set to single use.

    Second in MTS the object needs to be set to create new instance. (this can also be set in the properties of the class from VB).


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