VB Reference Libraries

F

FBxiii

Hi,

I need to activate certain VB reference libraries within a VB6 project using
code (e.g. Microsoft Office 11.0 Object Library).

This will ensure all users applications have reference to the correct
Reference library!!!

Can anyone help?

Cheers,
Steve.
 
D

Douglas J Steele

You'd be better off asking in a newsgroup related to VB than one related to
Access, then.

Do you know for a fact that all your users will have Office 2003 installed?
 
R

Robert Morley

I think what he's getting at is that he wants to activate the references
based on whatever the current version of Office is, which as far as I know,
you can't do.

The only solution in this case would be to use late binding. (i.e., Dim
myVar as Object)



Rob
 
D

Douglas J Steele

On rereading the post, you're probably correct about the question. If so,
you're definitely right that late binding would be the only solution.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top