General discussion

Locked

VB6 - Run time error '91'

By ohJani ·
i wanted to start some MTS instances in a VB6 EXE application. i've added the MTS Type Library reference, and

Dim objCtx As ObjectContext
Set objCtx = GetObjectContext()

but i still get this run time error when it reaches the SetComplete line, why?
i've experience in using MTS in AxtiveX DLL, but i can't use the some approach in EXE.

This conversation is currently closed to new comments.

7 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

VB6 - Run time error '91'

by Glen_McLeod In reply to VB6 - Run time error '91'

The answer to your question is in the last line, you can't do it from a standard exe ( I don't even think you can do it from an ActiveX exe) *unless* you're actually running on the computer that is your MTS server.

Glen

Collapse -

VB6 - Run time error '91'

by ohJani In reply to VB6 - Run time error '91'

Poster rated this answer

Collapse -

VB6 - Run time error '91'

by ohJani In reply to VB6 - Run time error '91'

if it can't be used in EXE, then how do i reuse my DLLs? any workaround?

Collapse -

VB6 - Run time error '91'

by ohJani In reply to VB6 - Run time error '91'

Point value changed by question poster.

Collapse -

VB6 - Run time error '91'

by ohJani In reply to VB6 - Run time error '91'

Point value changed by question poster.

Collapse -

VB6 - Run time error '91'

by ohJani In reply to VB6 - Run time error '91'

Point value changed by question poster.

Collapse -

VB6 - Run time error '91'

by ohJani In reply to VB6 - Run time error '91'

This question was closed by the author

Back to Web Development Forum
7 total posts (Page 1 of 1)  

Related Discussions

Related Forums