Here's an example of how I had to do this in the past from an ASP Page:
Set oEventObj = CreateObject('YourComServer.TheEventObj')
' Assuming that you're returning a true or false
If oEventObj.ExecuteEvent(Parm1,Parm2,Parm3,Parm4,Parm5) Then
' Do Something for true
Else If
' Do Something for false
End If