Windows Vista Forums

Error Provider and Business Objects Validation - VB2005
  1. #1


    Julian Guest

    Error Provider and Business Objects Validation - VB2005

    Hi

    If you validate in the properties of a business object and there is an
    error how do you set a forms error provider for the properties error?



    Many thanks

    Julian



      My System SpecsSystem Spec

  2. #2


    sloan Guest

    Re: Error Provider and Business Objects Validation - VB2005

    You need to provide some more "context" for this question.

    Are you using a certain framework? (Not "dotnet" , but a certain kind of
    business object framework).



    "Julian" <julian@xxxxxx> wrote in message
    news:eAYoKzZkJHA.2384@xxxxxx

    > Hi
    >
    > If you validate in the properties of a business object and there is an
    > error how do you set a forms error provider for the properties error?
    >
    > Many thanks
    >
    > Julian
    >


      My System SpecsSystem Spec

  3. #3


    Julian Guest

    Re: Error Provider and Business Objects Validation - VB2005

    Rather than validating on the form I wish to validate in the class property
    setters and if the validation is not true set the error provider on the
    appropriate control on the form with an error message. I am not using any
    particular framework but just building the classes myself Is there common
    way of doing this?

    Julian

    "sloan" <sloan@xxxxxx> wrote in message
    news:%23Y$FmwgkJHA.3380@xxxxxx

    > You need to provide some more "context" for this question.
    >
    > Are you using a certain framework? (Not "dotnet" , but a certain kind of
    > business object framework).
    >
    >
    >
    > "Julian" <julian@xxxxxx> wrote in message
    > news:eAYoKzZkJHA.2384@xxxxxx

    >> Hi
    >>
    >> If you validate in the properties of a business object and there is an
    >> error how do you set a forms error provider for the properties error?
    >>
    >> Many thanks
    >>
    >> Julian
    >>
    >
    >


      My System SpecsSystem Spec

  4. #4


    Cor Ligthert[MVP] Guest

    Re: Error Provider and Business Objects Validation - VB2005

    Yes,

    Try to ask this question in the newsgroup
    Microsoft.public.dotnet.languages.vb

    Then can more persons use the benefits from the answers.

    Cor

    "Julian" <julian@xxxxxx> wrote in message
    news:OL5uVPmkJHA.4372@xxxxxx

    > Rather than validating on the form I wish to validate in the class
    > property setters and if the validation is not true set the error provider
    > on the appropriate control on the form with an error message. I am not
    > using any particular framework but just building the classes myself Is
    > there common way of doing this?
    >
    > Julian
    >
    > "sloan" <sloan@xxxxxx> wrote in message
    > news:%23Y$FmwgkJHA.3380@xxxxxx

    >> You need to provide some more "context" for this question.
    >>
    >> Are you using a certain framework? (Not "dotnet" , but a certain kind of
    >> business object framework).
    >>
    >>
    >>
    >> "Julian" <julian@xxxxxx> wrote in message
    >> news:eAYoKzZkJHA.2384@xxxxxx

    >>> Hi
    >>>
    >>> If you validate in the properties of a business object and there is an
    >>> error how do you set a forms error provider for the properties error?
    >>>
    >>> Many thanks
    >>>
    >>> Julian
    >>>
    >>
    >>
    >
    >

      My System SpecsSystem Spec

Error Provider and Business Objects Validation - VB2005 problems?

Similar Threads
Thread Thread Starter Forum Replies Last Post
typed datasets vs. business objects BillE .NET General 12 08 May 2008
validation error maknalivin Vista installation & setup 1 30 Oct 2007
WCF serialization architecture question, not creating multiple instances of existing business objects sonic Indigo 4 12 Apr 2007
Business Objects is ready for Vista or not. SrinivasReddy - IBM Vista General 2 13 Nov 2006
Applying DataContract to business/domain objects Bill Poole Indigo 0 27 Jun 2006