checking(ticking) the reference check boxes using code in vb6

  • Thread starter Thread starter ravindar thati
  • Start date Start date
R

ravindar thati

dear friends,

i am using ms access 2003, vb6.

i want to add a reference named "Microsoft DAO control 3.51 object
library" programatically(instead of using mouse) to my project.

how do i approach this?

thanq
 
To add a reference programmatically, look at the AddFromFile method of the
References collectionhttp://msdn2.microsoft.com/en-us/library/aa221171(office.11).aspx


thanq friend, it helped me.
i could do add the reference to my project.

also i want to know how do we check whether a reference is already
added or not?
since if we add reference again, there wil be a name conflict.


thanq
 
ravindar thati said:
thanq friend, it helped me.
i could do add the reference to my project.

also i want to know how do we check whether a reference is already
added or not?
since if we add reference again, there wil be a name conflict.

I'll repeat. It's very unusual to set references in code. What are you
trying to do?

Have you read what MichKa has at
http://www.trigeminal.com/usenet/usenet026.asp ?
 
Back
Top