Help | Site Map
Connecting Tech Pros Worldwide
 
 
LinkBack Thread Tools
  #1  
Old August 25th, 2007, 07:05 PM
Vincent
Guest
 
Posts: n/a
Default Intellisense and ActiveX Controls

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

 

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

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 Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over network members.
Post your question now . . .
It's fast and it's free

Popular Articles