Using MS TreeView in genealogy software

Moderator: MOD_nyhetsgrupper

Svar
Paul Blair

Using MS TreeView in genealogy software

Legg inn av Paul Blair » 25. april 2005 kl. 3.35

Has anyone been able to apply Visual Basic's TreeView control to a
genealogy program?

If you're not familier, TreeView is what you get when you open Windows
Explorer (not IE). It gives a hierarchical view of folders there, but
families are just "folders", so it could be used there.

Be interested to hear...

Paul Blair
Canberra
Australia

Scott

Re: Using MS TreeView in genealogy software

Legg inn av Scott » 25. april 2005 kl. 4.59

Paul Blair wrote:
Has anyone been able to apply Visual Basic's TreeView control to a
genealogy program?

If you're not familier, TreeView is what you get when you open Windows
Explorer (not IE). It gives a hierarchical view of folders there, but
families are just "folders", so it could be used there.

Be interested to hear...

Paul Blair
Canberra
Australia


As a VB programmer, I can see the use of the treeview control when
working on family groups, however, I have not tried developing a
genealogy program to test this out. I would be interested on any
results you might get. Let me know if you find anything...

Scott

Claude J

Re: Using MS TreeView in genealogy software

Legg inn av Claude J » 25. april 2005 kl. 14.44

In article <[email protected]>, [email protected]
says...
Has anyone been able to apply Visual Basic's TreeView control to a
genealogy program?

If you're not familier, TreeView is what you get when you open Windows
Explorer (not IE). It gives a hierarchical view of folders there, but
families are just "folders", so it could be used there.

Be interested to hear...

Paul Blair
Canberra
Australia


Take a look at "Treepad" [$] and "Treepad Lite" [freeware] at
http://www.treepad.com/

--
Claude

Paul Blair

Re: Using MS TreeView in genealogy software

Legg inn av Paul Blair » 26. april 2005 kl. 3.25

Claude J wrote:
In article <[email protected]>, [email protected]
says...

Has anyone been able to apply Visual Basic's TreeView control to a
genealogy program?

If you're not familier, TreeView is what you get when you open Windows
Explorer (not IE). It gives a hierarchical view of folders there, but
families are just "folders", so it could be used there.

Be interested to hear...

Paul Blair
Canberra
Australia



Take a look at "Treepad" [$] and "Treepad Lite" [freeware] at
http://www.treepad.com/


That's the broad idea. I rather like it. But it needs some other
features, like a competent database and some genealogy features.

Paul Blair

Rgemini

Re: Using MS TreeView in genealogy software

Legg inn av Rgemini » 26. april 2005 kl. 12.52

"Paul Blair" wrote :
Has anyone been able to apply Visual Basic's TreeView control to a
genealogy program?

I doubt if it's VB-based, but Family Historian uses just such an approach
very successfully and works with Gedcom files rather than any proprietry
file formats. Very full-featured including diagrams, reports, queries and
with a strong user base. I bought it recently and find it easier to work
with than my existing program, Legacy 5. That's not to denigrate Legacy,
which is also a very good program in its own right that I've used for
several years. The developers of both FH and Legacy frequently post and
respond in their support mailing lists.

Family Historian website: http://www.family-historian.co.uk/.
FH User group website: http://www.fhug.org.uk.
Legacy website: http://www.legacyfamilytree.com.

Hope this helps
regards
Roy Ayres (Eltham, UK)

Graham Ward

Re: Using MS TreeView in genealogy software

Legg inn av Graham Ward » 26. april 2005 kl. 22.17

Paul, you will recall we were in contact at the end of 2004 on a related
issue of using Access and creating gedcoms. I have found there are two
helpful articles in the Microsoft Knowledge Base 165993 ACC97: Example Using
TreeView Control Drag-and-Drop Capabilities and 209898 How to use TreeView
control Drag-and-Drop capabilities in Access 2000. There is sample code but
based around the Northwind database using the Employees table and the
"ReportsTo" field.

However if you modify the sample data you can soon represent Parent Child
relationships.

I also found there is a useful wizard for creating treeviews but it only
works in Access 97. Fortunately I had an old version on another pc so was
able to try it out and generate some sample code. Once the code was
generated it converted OK into Access 2000 and works, its just the wizard
does not, which is a shame. The wizard is "wztreevw.exe" which you should
find on http://www.vb123.com/toolshed/00_accvb/treeview.htm there are some
other useful articles about if you search for wztreevw on Google.

The nice thing is that not only can you display relationships and they
cascade several generations but you can change them to with "drag and drop"
although I found this cumbersome in a large table (more than a few hundred
records. One problem I could not resolve was how to get the tree to scroll
up and down when I was moving a "node", i.e. I could only move it to an
already visible point on the tree.

You will need to experiment with how you data is organised in the table. The
treeview tool is used to a limited extent in the sample database genie.mdb
on the Microsoft Template Gallery that you advised me of. Also think about
do you want to create a descendancy or ancestor view.

I also found the article "Access Archon Column #53 - TreeView Wizard and
Subdatasheets" a helpful start http://www.helenfeddema.com/access.htm. You
need to get the hang of the properties sheet that controls the ActiveX
control. I do not think sub-datasheets are helpful for our purposes
although they are easy to set up..

The other issue I could not quite resolve was the best way to represent the
father and mother relationship to the child. Treeview really only allows for
one parent! You can get round it as Genie.mdb demonstrates for an ancestor
view, but it is not so clever in a descendant view.

Graham

----- Original Message -----
From: "Paul Blair" <[email protected]>
To: <[email protected]>
Sent: Monday, April 25, 2005 3:35 AM
Subject: Using MS TreeView in genealogy software


Has anyone been able to apply Visual Basic's TreeView control to a
genealogy program?

If you're not familier, TreeView is what you get when you open Windows
Explorer (not IE). It gives a hierarchical view of folders there, but
families are just "folders", so it could be used there.

Be interested to hear...

Paul Blair
Canberra
Australia

______________________________

0_Qed

Re: Using MS TreeView in genealogy software

Legg inn av 0_Qed » 29. april 2005 kl. 16.10

Paul,

Has anyone been able to apply Visual Basic's TreeView control to a
genealogy program?

=Very^100= doubtful.

'What' you're =refering= to is ...
a "feature" that reports(lists) the tree_like structure of
the 'files' in a typical "fat" File System(FS) ... M$ ??? .

'What' you're =thinking= of "is" ...
the =cutomised=, navigational "code" that accesses the record(S) in a
Data_Base(DB) .

In 'principle', the two are 'some' similar.
The comparison =ends= there.

In 'function' , the two(2) differ quite a bit.

Navigating a 'DB' generally requires "chasing" =chains= of records ...
.... 1 to 1 ; 1 to many ; many to 1 ...
until a "meaningful" record assemblage is obtained.

Typically, a 'FS' isnt "cast" in this respect.

If you're not familier, TreeView is what you get when you open Windows
Explorer (not IE). It gives a hierarchical view of folders there, but
families are just "folders", so it could be used there.

Be interested to hear...

Paul Blair
Canberra
Australia

Ed

Svar

Gå tilbake til «soc.genealogy.computing»