Removing database from vServer // errors

Ruslan Zasukhin sunshine at public.kherson.ua
Tue Sep 14 19:20:15 CDT 2004


On 9/14/04 4:40 PM, "Kevin Windham" <kevo at gatorgraphics.com> wrote:

>>> 
>>> I cannot find a way to catch an error from the unregisterDatabase
>>> method. It doesn't appear to have a return in the docs, and there
>>> doesn't appear to be an ErrNumber property or getError function on the
>>> server object. There is a property for the database object, but I
>>> don't
>>> see how that can apply in this case.
>>> 
>>> Maybe I'm wrong, or this just hasn't been implemented yet.
>> 
>> You need check db.errNumber.
> 
> There is no db? I have a VServer object and call
> pVServer.UnregisterDatabase "My Database1".
> I don't have a db object to check the error code. All I have at this
> point is a VServer object. Maybe an error code could be added to the
> VServer object?

Probably.

We need to think.

Actually not hard.



-- 
Best regards,
Ruslan Zasukhin      [ I feel the need...the need for speed ]
-------------------------------------------------------------
e-mail: ruslan at paradigmasoft.com
web: http://www.paradigmasoft.com

To subscribe to the Valentina mail list go to:
http://lists.macserve.net/mailman/listinfo/valentina
-------------------------------------------------------------



More information about the Valentina mailing list