|
|
|
Forum Newbie
      
Group: Forum Members
Last Login: 7/15/2008 10:46:27 AM
Posts: 3,
Visits: 8
|
|
|
|
|
|
Legendary Master
       
Group: Administrators
Last Login: Today @ 9:21:17 AM
GenoPro Version: 2.4.0.3
Posts: 3,523,
Visits: 14,875
|
|
|
|
|
|
Forum Newbie
      
Group: Forum Members
Last Login: 7/15/2008 10:46:27 AM
Posts: 3,
Visits: 8
|
|
| Can you create a simple program in C# that will add a new document with 3 people (father, mother and son) please?
|
|
|
|
|
Legendary Master
       
Group: Administrators
Last Login: Today @ 9:21:17 AM
GenoPro Version: 2.4.0.3
Posts: 3,523,
Visits: 14,875
|
|
|
|
|
|
IT Director GenoPro
      
Group: Customers
Last Login: Yesterday @ 8:27:51 AM
GenoPro Version: 2.0.1.6
Posts: 457,
Visits: 5,964
|
|
|
|
|
|
Forum Newbie
      
Group: Forum Members
Last Login: 7/15/2008 10:46:27 AM
Posts: 3,
Visits: 8
|
|
I have read those file. So do you mean I have to construct a XML file and then feed it to the document?
From reading the documentation on www.genopro.com/SDK, I was under the impression that I can do something like:
GenoPro.IGenoDocument doc = new GenoPro.DocumentClass(); GenoPro.IGenoObjects c = doc.Collection("Individuals"); GenoPro.IGenoObject i = ?????; // create a new individual by some mean that I can't figure out i.TagName("Name.First") = "user"; c.Add(i); |
|
|
|
|
|
Legendary Master
       
Group: Administrators
Last Login: Today @ 9:21:17 AM
GenoPro Version: 2.4.0.3
Posts: 3,523,
Visits: 14,875
|
|
At the moment, GenoPro does not support such features. GenoPro has very limited methods for automation, mostly GetTextXML and SetTextXML. We need to add new methods to support the creation and modification of objects, so a script or macro can automatically modify the document.
|
|
|
|