VExeption codes -- Kirill, check VNET please

Thomas Flemming tf at ttqv.com
Tue Mar 23 02:56:25 CDT 2010


Hi,

in VNET ex.Message is empty.

Tom


Am 23.03.2010 09:26, schrieb Kirill Pekarov:
> 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);
>          }
> }
>
>
>
>
>

-- 
/****************************************
**   Dipl.-Ing. Thomas Flemming
**   Software Development
**
**   Touratech AG
**   Auf dem Zimmermann 7-9
**   D-78078 Niedereschach
**
**   mail  tf at ttqv.com
**   fon   +49 (0) 7728 9279-206
**   fax   +49 (0) 7728 9279-29
**
**   http://www.ttqv.com
**   http://www.touratech.de
**
**   ... und immer dem Pfeil nach!
***************************************/


More information about the Valentina mailing list