Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Binding DataObjects to controls

0 views
Skip to first unread message

DavidGB

unread,
Feb 19, 2009, 5:20:01 AM2/19/09
to
I need to create dataobjects and bind them to controls such as comboboxes,
textfields, ets
Cn anyone give me a pointer to a basic 'How to' posting that covers this?
Preferably with VB source for the object.
It seems like it should be quite common, but I can't find anythng.

Ralph

unread,
Feb 19, 2009, 4:16:56 PM2/19/09
to

"DavidGB" <Dav...@discussions.microsoft.com> wrote in message
news:CD264346-D31D-45EA...@microsoft.com...

You are using 'classic vb' (VB6 and lower) ?

If so, look in MSDN Help for Data-aware Classes, "Creating Data-Aware
Classes"

For a quick view open a project and Add Class Module. Select "Data Source".
That creates a class with the correct properties and provides the
GetDataMember() method. This class in conjuction with the Binding Collection
is all you need.

-ralph


0 new messages