Click to See Complete Forum and Search --> : using with MTS
shastri_s
Sep 8th, 2000, 03:14 AM
I am trying to develop a component using MTS. For this, I am using VB as a client. I have tried to do this by using ObjectContext which is part of the MTx Server Library.However, I get an error that the object varibale does not exist.
If I try to do the same thing using NEW and without using the ObjectContext, it works fine.
Do I have to have something special installed on the MTs side ?
Can anybody help ?
Regards
Shastri
Ianpbaker
Sep 8th, 2000, 05:14 AM
Do you have the component registered with MTS ?
Clunietp
Sep 8th, 2000, 11:03 AM
Lets see your code
The objectcontext is to be used by your DLL that resides within MTS, NOT your client EXE
shastri_s
Sep 10th, 2000, 11:16 PM
Hi guys,
Thanks for the reply.Here is what I have done.I have created a activex dllwhich contains just a method which pops up a message.I have registered this component as a package in MTS Explorer and added this DLL as a component without transactio support.
I have created a client program in VB in whcih I have given references for this DLL.When I use this component with the new statement, it works fine.But when I try to use it with ObjectContext, it just refuses to work.
Any ideas?
Am I doing something wrong.
Thanks again.
Regards
Shastri
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.