PC Review


Reply
Thread Tools Rate Thread

Where is ADO Data Control???

 
 
=?Utf-8?B?Q2hpbngyMQ==?=
Guest
Posts: n/a
 
      3rd Apr 2007
Hi! I already add Microsoft ActiveX Data Objects 2.5 Library in VBE using
TOOLS>REFERENCES but I still cannot find the ado data control in the
toolbox..By the way I'm using Excel 2002. I hope you'll help me..
 
Reply With Quote
 
 
 
 
NickHK
Guest
Posts: n/a
 
      3rd Apr 2007
Adding a reference gives you access to the Type Library for early binding,
essentially using ADO in code with no visible control.
If you want the control, right-click on the Controls Toolbox, select
Additional Controls and put a check mark against the desired component.

Having said that, I have always preferred the coded version to the data
control for flexibility.

NickHK

"Chinx21" <(E-Mail Removed).> wrote in message
news:EDDC1E6C-0893-4435-AEE2-(E-Mail Removed)...
> Hi! I already add Microsoft ActiveX Data Objects 2.5 Library in VBE using
> TOOLS>REFERENCES but I still cannot find the ado data control in the
> toolbox..By the way I'm using Excel 2002. I hope you'll help me..



 
Reply With Quote
 
=?Utf-8?B?Q2hpbngyMQ==?=
Guest
Posts: n/a
 
      3rd Apr 2007
what do you mean coded version? How do i start with it? Sorry. I'm just new
to ADO. thank You!

"NickHK" wrote:

> Adding a reference gives you access to the Type Library for early binding,
> essentially using ADO in code with no visible control.
> If you want the control, right-click on the Controls Toolbox, select
> Additional Controls and put a check mark against the desired component.
>
> Having said that, I have always preferred the coded version to the data
> control for flexibility.
>
> NickHK
>
> "Chinx21" <(E-Mail Removed).> wrote in message
> news:EDDC1E6C-0893-4435-AEE2-(E-Mail Removed)...
> > Hi! I already add Microsoft ActiveX Data Objects 2.5 Library in VBE using
> > TOOLS>REFERENCES but I still cannot find the ado data control in the
> > toolbox..By the way I'm using Excel 2002. I hope you'll help me..

>
>
>

 
Reply With Quote
 
NickHK
Guest
Posts: n/a
 
      3rd Apr 2007
As I said, setting a reference does NOT give the visible control to use on a
userform, but it allows you create the early-bound ADO objects. e.g.
Dim ADORS As ADODB.Recordset
'..etc

You should read up on using ADO if this means nothing to you.
http://support.microsoft.com/kb/257819

Otherwise, add the control to the Toolbox as I explained and use that
instead.

NickHK

"Chinx21" <(E-Mail Removed).> wrote in message
news:F1BE1858-0153-4D65-9C69-(E-Mail Removed)...
> what do you mean coded version? How do i start with it? Sorry. I'm just

new
> to ADO. thank You!
>
> "NickHK" wrote:
>
> > Adding a reference gives you access to the Type Library for early

binding,
> > essentially using ADO in code with no visible control.
> > If you want the control, right-click on the Controls Toolbox, select
> > Additional Controls and put a check mark against the desired component.
> >
> > Having said that, I have always preferred the coded version to the data
> > control for flexibility.
> >
> > NickHK
> >
> > "Chinx21" <(E-Mail Removed).> wrote in message
> > news:EDDC1E6C-0893-4435-AEE2-(E-Mail Removed)...
> > > Hi! I already add Microsoft ActiveX Data Objects 2.5 Library in VBE

using
> > > TOOLS>REFERENCES but I still cannot find the ado data control in the
> > > toolbox..By the way I'm using Excel 2002. I hope you'll help me..

> >
> >
> >



 
Reply With Quote
 
=?Utf-8?B?Q2hpbngyMQ==?=
Guest
Posts: n/a
 
      3rd Apr 2007
Thanks nick!

"NickHK" wrote:

> As I said, setting a reference does NOT give the visible control to use on a
> userform, but it allows you create the early-bound ADO objects. e.g.
> Dim ADORS As ADODB.Recordset
> '..etc
>
> You should read up on using ADO if this means nothing to you.
> http://support.microsoft.com/kb/257819
>
> Otherwise, add the control to the Toolbox as I explained and use that
> instead.
>
> NickHK
>
> "Chinx21" <(E-Mail Removed).> wrote in message
> news:F1BE1858-0153-4D65-9C69-(E-Mail Removed)...
> > what do you mean coded version? How do i start with it? Sorry. I'm just

> new
> > to ADO. thank You!
> >
> > "NickHK" wrote:
> >
> > > Adding a reference gives you access to the Type Library for early

> binding,
> > > essentially using ADO in code with no visible control.
> > > If you want the control, right-click on the Controls Toolbox, select
> > > Additional Controls and put a check mark against the desired component.
> > >
> > > Having said that, I have always preferred the coded version to the data
> > > control for flexibility.
> > >
> > > NickHK
> > >
> > > "Chinx21" <(E-Mail Removed).> wrote in message
> > > news:EDDC1E6C-0893-4435-AEE2-(E-Mail Removed)...
> > > > Hi! I already add Microsoft ActiveX Data Objects 2.5 Library in VBE

> using
> > > > TOOLS>REFERENCES but I still cannot find the ado data control in the
> > > > toolbox..By the way I'm using Excel 2002. I hope you'll help me..
> > >
> > >
> > >

>
>
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Access 2007 Control of the attachment control and scanned data RAM Microsoft Access Forms 8 29th Mar 2008 07:24 PM
Using data from a form control as part of a subform control calcul =?Utf-8?B?Q2FybCBEZUxhZ2U=?= Microsoft Dot NET 0 7th May 2007 03:44 PM
Binding data to a server control inside repeator control muthu Microsoft ASP .NET 0 6th Apr 2006 10:47 AM
I need a basic grid type control - not a data bound bloated control John Edens Microsoft Dot NET Framework Forms 2 14th Jul 2005 06:26 AM
Calendar control erases my upload file control data... Trint Smith Microsoft ASP .NET 2 26th Feb 2004 10:28 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 05:27 AM.