Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / General 1 / August 2007

Tip: Looking for answers? Try searching our database.

Intellisense and ActiveX Controls

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Vincent - 25 Aug 2007 19:04 GMT
I am trying to familiarize myself with a new ActiveX control.  If I
place the control on the form and then reference it via code, the
Intellisense does not work.  However, if I explicitly declare the
control in code, then the Intellisense works.

The name of the control on the form is dbGrid1.  Why can't I do
something like the following?

Dim dbGrid1Other as AnotherActiveXControl
set dbGrid1Other = dbGrid1
dbGrid1Other.someProperties = xyz

In other words, why can't I explicitly declare a reference as the same
type of the control on the form to utilize the Intellisense?  If I try
to set dbGrid1Other = dbGrid1, the compiler complains that this is a
type mismatch.  Is there any way to capture the reference to dbGrid1
to accomplish what I am trying to do?  Or is there a completely easier
way to accomplish this?  Thanks.

Vincent
Tom van Stiphout - 29 Aug 2007 03:03 GMT
Have you tried setting a reference to that control? Code window >
Tools > References.  Browse, if you have to.

-Tom.

>I am trying to familiarize myself with a new ActiveX control.  If I
>place the control on the form and then reference it via code, the
[quoted text clipped - 16 lines]
>
>Vincent
Vincent - 31 Aug 2007 23:40 GMT
> Have you tried setting a reference to that control? Code window >
> Tools > References.  Browse, if you have to.
[quoted text clipped - 21 lines]
>
> >Vincent

Tom,

    Yes.  I did set a reference to the control, but this appears to
have done nothing in regards to the intellisense.  I find this
unusual.

Vincent
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.