Re: VB.NET: Transferring Data From Form to Form

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: DenBorg (den_borg_at_yahoo.com)
Date: 09/29/04


Date: 29 Sep 2004 15:22:44 -0700


"Cor Ligthert" <notmyfirstname@planet.nl> wrote in message news:<OK9dDtipEHA.3572@TK2MSFTNGP10.phx.gbl>...
> This question from you, gives forever a lot of messages.
> Very important is where you create your "other" form and how you do that.

Regardless of where and how the "other" form is created, the best
method of passing data to a form for display is either by a property
or method of that form. The issue here is "How do I pass data to a
given form?"

In my opinion, public variables (that is global to the whole
application) should rarely be used. It is also my opinion that it is
not a good idea to make UI objects of a form public. It would be
better to create a form or a method for the form that is to accept the
data for display.

"Where" and "how" a form is created will simply determine where your
*reference* to that form is. However, that is a different issue. The
issue of when and where a form is created is "How do I reference a
form I've already created or am about to create?"



Relevant Pages

  • Re: VB.NET: Transferring Data From Form to Form
    ... method of passing data to a form for display is either by a property ... In my opinion, public variables (that is global to the whole ... *reference* to that form is. ...
    (microsoft.public.dotnet.languages.vb)
  • RE: How to Reference a Property in a Linked Library - I think
    ... Just getting the XY Scatter chart to display properly was a near ... I have only used the Object Browser for the standard reference ... and do not know how to reference additional libraries ...
    (microsoft.public.access.modulesdaovba)
  • Re: referencing columns from list box?
    ... without the reference to Column) ... Doug Steele, Microsoft Access MVP ... Is there a way to get Me.MyTextbox to display ... The control source is Forest. ...
    (microsoft.public.access.formscoding)
  • Re: Nobody watching Glastonbury ?
    ... On Usenet, *every* post is a statement of opinion - not fact. ... first hand, personal experience or, as ... Although the veracity of that source or reference is often as dubious as ...
    (uk.media.tv.misc)
  • Re: Nobody watching Glastonbury ?
    ... On Usenet, *every* post is a statement of opinion - not fact. ... first hand, personal experience or, as ... Although the veracity of that source or reference is often as dubious as ...
    (uk.media.tv.misc)