🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.delphi.database.ado-net
4 messages
4 total messages Started by Alan A Thu, 30 Mar 2006 20:35
How to connect .net to Oracle RDB ODBC
#9
Author: Alan A
Date: Thu, 30 Mar 2006 20:35
11 lines
1613 bytes
I'm trying to write a .net application that will connect to a VAX RDB database using an Oracle RDB ODBC driver.  The driver is not .net compliant.  I'm not sure which components I should be using.  When I try to drop a TADOConnection control on the form I get the following message:

Failed to create an instance of 'Borland.Vcl.TADOConnection' because 'System.MissingMethodException: Constructor on type Borland.Vcl.TADOConnection not found.
   at System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)
   at System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)


Thanks for any and all help.

Alan
Re: How to connect .net to Oracle RDB ODBC
#10
Author: Marc Rohloff TeamB
Date: Fri, 31 Mar 2006 01:48
14 lines
1804 bytes
On 30 Mar 2006 13:35:40 -0700, Alan A wrote:

> I'm trying to write a .net application that will connect to a VAX
> RDB database using an Oracle RDB ODBC driver.  The driver is not
> .net compliant.  I'm not sure which components I should be using. 
> When I try to drop a TADOConnection control on the form I get the
> following message:

Where did you get the controls? This sounds like it is a Winforms
component which has a different constructor to a VCL component.

-- 
Marc Rohloff [TeamB]
marc rohloff -at- myrealbox -dot- com
Re: How to connect .net to Oracle RDB ODBC
#11
Author: Alan
Date: Fri, 31 Mar 2006 13:56
6 lines
1177 bytes
I got the TADOConnection in the General section of the tools.

Sorry to be such an idiot about this.  My real question I guess is what set of components should I be using that work in a winforms application but use the "old" ADO and not ADO.net.

thanks, Alan
Re: How to connect .net to Oracle RDB ODBC
#12
Author: Marc Rohloff TeamB
Date: Fri, 31 Mar 2006 21:47
11 lines
1577 bytes
On 31 Mar 2006 06:56:24 -0700, Alan wrote:

> Sorry to be such an idiot about this.  My real question I guess is
> what set of components should I be using that work in a winforms
> application but use the "old" ADO and not ADO.net. 

You can't really. Why don't you want to use ADO.NET?

-- 
Marc Rohloff [TeamB]
marc rohloff -at- myrealbox -dot- com
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads