Well for a start you're using the Com version of UniObjects from .NET. Not the best combination - there is a .NET specific library for UniObjects.
Make sure you have a reference to the correct uodotnet.dll, then visit the U2UG website and download a. the incubator pack. That has a C# client using UO.net b. the learner pack. That walks through a windows forms client. BRian -----Original Message----- From: Geohagan, Wayne S. <geohag...@ppnpf.com> To: u2-users <u2-users@listserver.u2ug.org> Sent: Tue, Jun 5, 2012 8:59 am Subject: [U2] My first uniObject application I am receiving the following error message: "Children could not be valuated" Here's my code: Public Class Form1 Dim session As Object Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As ystem.EventArgs) Handles MyBase.Load Session = CreateObject("UniObjects.unioaifctrl") Session.UserName = InputBox("User Name:", "Login") Session.Password = InputBox("Password:", "Password") Session.Connect() End Sub Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As ystem.EventArgs) Handles Button1.Click Dim FileObj As Object If session.IsActive Then FileObj = session.OpenFile(TextBox1.Text) FileObj.RecordId = TextBox2.Text FileObj.Read() TextBox3.Text = FileObj.Record.ToString End If End Sub End Class Can someone please tell me what I am doing wrong. The documentation hat I have seems to refer to vb6. May the Lord Bless your day! Wayne Geohagan Speak God's will into your life today! ############################################################################ ######## ttention: he information contained in this message and or attachments is intended nly for the person or entity to which it is addressed and may contain onfidential and/or privileged material. Any review, retransmission, issemination or other use of, or taking of any action in reliance upon, his information by persons or entities other than the intended recipient s prohibited. If you received this in error, please contact the sender and elete the material from any system and destroy any copies. Thank You. This e-mail message has been scanned for Viruses and Content and cleared by etIQ MailMarshal ############################################################################ ######## ______________________________________________ 2-Users mailing list 2-us...@listserver.u2ug.org ttp://listserver.u2ug.org/mailman/listinfo/u2-users _______________________________________________ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users _______________________________________________ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users