PDA

View Full Version : Detect Operating System / Apply Object Library



CFDM
06-13-2006, 08:50 AM
I am developing a project that will vbe sent out to external sites. I need code that will detect which operating system they are one and then apply that object library. Please help:bug:

Norie
06-13-2006, 08:53 AM
Why not use late binding?

Then you won't need to do this.

CFDM
06-13-2006, 09:01 AM
what?

CFDM
06-13-2006, 09:03 AM
not backward compatible

Norie
06-13-2006, 09:16 AM
Late binding is a technique where you don't need to reference object libraries.

I'm not sure if it will be applicable in your case as you haven't really explained exactly why you need the references.

If you want to know about programatically adding references I suggest you try a board/KB search.

http://vbaexpress.com/kb/getarticle.php?kb_id=267

CFDM
06-13-2006, 09:40 AM
Chr