David and Graham,

Thanks for mentioning the U2 & .NET white paper.  It was encouraging to see
that IBM is still developing U2.  The code examples listed in the white
paper were almost identical to the code I had written to access a RedBack
object and call its methods through the OleDb provider.  Unfortunately, I
get the same results as I had gotten originally.  The call comes back with
the schema of all the properties (including any custom properties that I
pass to the method), but no data.

We're currently running RedBack 4.1.3.2.

I've had success using regular ADO (via COM interop) to call an RBO, so I
think that's my best option until IBM releases the next version of RedBack.

Is there a list to which I can subscribe to receive announcements of U2
product releases/updates?  We purchased our U2 products through a reseller
(Jenkon) and IBM won't allow me to access the U2TechConnect site.

Thanks,
-Tony

Tony Evans
Web Developer
Richmont

-----Original Message-----
From: djordan [mailto:[EMAIL PROTECTED] 
Sent: Thursday, April 15, 2004 7:28 AM
To: 'U2 Users Discussion List'
Subject: RE: RedBack from .net

Graham 

There is a white paper on U2 & .Net on the IBM U2 web page.  This had
some references on how to use Redback with .Net

Regards
David Jordan
Managing Consultant
[EMAIL PROTECTED]

Dacono Holdings Pty Ltd
Business & Technology Consulting
PO Box 909
Lane Cove 
NSW 2066
Australia
Ph 61 2 9418 8329
Fax 61 2 9427 2371
www.dacono.com.au 

 

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of [EMAIL PROTECTED]
Sent: Thursday, 15 April 2004 5:55 PM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: RedBack from .net


Tony 

RedBack 4.1 is not compliant with .net I have had limited success, see
sample code : 


Dim oRead As New REDPAGESLib.RedObject 
Try 
oRead.Open2("ACCOUNT", "MODULE:OBJECT") 
oRead.Property("PROPERTY").Value = "" 
oRead.CallMethod("METHOD") 
Catch 
Dim theErr = Err.Description 
End Try 
Dim b = oRead.Property("PROPERTY").Value 


New version of RedBack out end of this month which is compliant with
.net 
Regards 

Graham 


Can anyone share any experience they've had calling a RedBack RBO from
.NET? 

I've tried the following methods: 

1. OleDbConnection to the RedPages OLE DB Provider: results in an error
when 
trying to call the RBO's .Create() method. 

2. ADODB Connection (via COM Interop) to the RedPages OLE DB Provider: 
retrieves the schema (all the property names), but no data, and does not

return any error messages. 

3. RedObject (via COM Interop to RedPages.dll): I can't set any property

values for method calls, so this doesn't work at all. 

Does anyone have any other ideas? 

Any help would be greatly appreciated. 






********************************************************************

This email may contain information which is privileged or confidential.
If you are not the intended recipient of this email, please notify the
sender immediately and delete it without reading, copying, storing,
forwarding or disclosing its contents to any other person Thank you

Check us out at http://www.btsyntegra.com

********************************************************************

-- 
u2-users mailing list
[EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users

-- 
u2-users mailing list
[EMAIL PROTECTED]
http://www.oliver.com/mailman/listinfo/u2-users
-- 
u2-users mailing list
[EMAIL PROTECTED]
http://www.oliver.com/mailman/listinfo/u2-users

Reply via email to