I am receiving the following error message:  "Children could not be
evaluated"

 

Here's my code:

 

Public Class Form1

    Dim session As Object

 

    Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As
System.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
System.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
that I have seems to refer to vb6.

 

 

May the Lord Bless your day!

 

Wayne  Geohagan

Speak God's will into your life today!

 


#####################################################################################
Attention:
The information contained in this message and or attachments is intended
only for the person or entity to which it is addressed and may contain
confidential and/or privileged material.  Any review, retransmission,
dissemination or other use of, or taking of any action in reliance upon,
this information by persons or entities other than the intended recipient
is prohibited. If you received this in error, please contact the sender and
delete 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 
NetIQ MailMarshal 
#####################################################################################
_______________________________________________
U2-Users mailing list
[email protected]
http://listserver.u2ug.org/mailman/listinfo/u2-users

Reply via email to