Dim ctxobject As ObjectContext
Dim objAccount As Account.Pay
Set ctxobject = GetObjectContext()
Set objAccount = ctxobject.CreateInstance("Account.Pay"
I'm trying to run the code above cause I want to be able to use the SetComplete and SetAbort. But it always give me the runtime error 91 : Object variable or With block variable not set.
I noticed that the - Set ctxobject = GetObjectContext()
doesn't seem to work cause it give my object variable Nothing. I was told that I should place my DLL in MTS but I already did placed my DLL in MTS. What's wrong with it? am I missing something here?
Dim objAccount As Account.Pay
Set ctxobject = GetObjectContext()
Set objAccount = ctxobject.CreateInstance("Account.Pay"
I'm trying to run the code above cause I want to be able to use the SetComplete and SetAbort. But it always give me the runtime error 91 : Object variable or With block variable not set.
I noticed that the - Set ctxobject = GetObjectContext()
doesn't seem to work cause it give my object variable Nothing. I was told that I should place my DLL in MTS but I already did placed my DLL in MTS. What's wrong with it? am I missing something here?