I'm not sure if it will help, but here is the code from the VB client:
Dim lRetCode As Long
Dim Foo As Object
Set Foo = GetObject("", "Foo.Document")
If (Not (Foo Is Nothing)) Then
lRetCode = Foo.Bar(...)
If (lRetCode <> 0) Then
' Success
Else
' Oops
End If
End If
Set Foo = Nothing-- Jason Teagle [EMAIL PROTECTED]
