Re: ADO in D2005
From: Jeff Dyer (jeff.nospam_at_trustguard.co.uk)
Date: 12/14/04
- Next message: Jeff Dyer: "Re: ADO in D2005"
- Previous message: Bill Todd: "Re: ADO in D2005"
- In reply to: Bill Todd: "Re: ADO in D2005"
- Next in thread: Jeff Dyer: "Re: ADO in D2005"
- Reply: Jeff Dyer: "Re: ADO in D2005"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 14 Dec 2004 14:41:17 -0000
"Bill Todd" <no@no.com> wrote in message
news:41bef8c2@newsgroups.borland.com...
> On the contrary, unlike what Microsoft has done to their VB
> programmers, Borland has provided a way to move Win32 apps to .NET.
> Although not painless it is a big help. You will also find most of what
> you know about Delphi is quite portable. You just happened to look at
> the area that has the biggest change and that is data access. ADO.NET
> is quite different from anything you have worked with before. It is
> conceptually similar to DataSnap (Midas).
Maybe you can help me with this one then ...
Fire up D2005 (Architect Trial)
Select File | New Windows Forms Application
There is immediately a message in the "Messages" pane at the bottom of the
screen that I cannot read, *because it doesn't wrap around my screen*.
Rightclick/copying it here gives :
Could not find type 'WinForm.Container'. Please make sure that the assembly
that contains this type is referenced. If this type is a part of your
development project, make sure that the project has been successfully built.
Next, look for TADOConnection. Doesn't exist anywhere. Fire up Component |
Installed .NET compoonents ....
Eventually!!! A huge list of components appears, with check boxes down the
left I assume that, like VB, not all components are "enabled" by default.
Scroll to TADOConnection (General components), tick all TADOQuery etc and
close the dialog. A new tab appears in the Tool palette, "General".
Click on TADOConnection, drop on form, voila : Error
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)
at Borland.Studio.Host.CreationManager.a(Type , Object[] , Type[] ,
Boolean )'.
I mean what am I doing wrong?
Regards,
-- Jeff Dyer
- Next message: Jeff Dyer: "Re: ADO in D2005"
- Previous message: Bill Todd: "Re: ADO in D2005"
- In reply to: Bill Todd: "Re: ADO in D2005"
- Next in thread: Jeff Dyer: "Re: ADO in D2005"
- Reply: Jeff Dyer: "Re: ADO in D2005"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|