|
-
May 3rd, 2000, 04:19 PM
#1
Thread Starter
Lively Member
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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|