Hi,

I have the following problem

I developed a VB-component (an ActiveX-DLL) that creates a record in SQL-server.

For the interface I'm using ASP.
My ASP-page communicates with my vb-component via properties

So, I'm passing my argument from ASP to VB, let VB create the record. If the creation was successfull, i want to return a value (execution_result) to my ASP.

So far, so good. Everyting works.

But when I want to work with a context

Set mo_context = GetObjectContext()

if creation_Succes then
execution_result = 1
If Not mo_context Is Nothing Then
mo_context.SetComplete
Set mo_context = Nothing
end if
end if

--> if i call, in my asp, the property from execution_result, it is empty. If I remove the line "mo_context.setcomplete" then my execution_result returns 1 to my asp


Thanks