VExeption codes -- Kirill, check VNET please

Kirill Pekarov kirill_pekarov at valentina-db.com
Tue Mar 23 02:26:36 CDT 2010


Hi, Ruslan.

You wrote 22.03.2010, 20:39:57:

> On 3/21/10 9:00 PM, "Thomas Flemming" <tf at ttqv.com> wrote:

>> Hi Ruslan,
>> 
>> 
>>> Class Vexception in all Valentina adks have
>>> 
>>>      exc.ErrNumber
>>>      exc.ErrMesage
>>> 
>>> Or something like this. Not remember exact names now
>> 
>> no, in vnet there is only
>> 
>> exc.ErrNumber
>> exc.ErrCode
>> 
>> both integer, containing the same value.

> Kirill,

> Can you check this asap?

From one of our example:

private void pbCreate_Click(object sender, System.EventArgs e)
{
        IVTable tblPerson;
        IVField fldFirstName;
        try
        {
                  
                tblPerson = mDatabase.CreateTable( "Person" );
                fldFirstName = tblPerson.CreateStringField("firstname", 40 );
                  
                ShowStatistic();
        }
        catch( VException ex )
        {
                Console.WriteLine( "VException Error: " + ex.Message );
                wProperties.ShowError(ex);
        }
}





-- 
Best regards,

Kirill Pekarov
Software Engineer Associate
Paradigma Software, Inc
Valentina - The Ultra-Fast Database
http://www.valentina-db.com



More information about the Valentina mailing list