AnsweredAssumed Answered

vrf switching activeX versions

Question asked by scubaman on Jun 11, 2003





Thanks, Shawn, it is actually even sillier than that, but you put me on the
right track.  I had looked into the main source code, and could not find
9.0...  turns out it is a compiled library that's complaining, and that's
why the warning did not go away!  It all makes sense now.  In the past,
when I did not have the libraries separated out, after the first time on a
different version machine, it worked without the warning after I saved.
Here, I need to recompile the library.  I will take the section you
highlighted out of the library to avoid this in the future.  Thanks
again!!!
--
Regards,
Rich
===================
Richard Kleinhenz
Wafer Engineering
845-892-2617
scubaman@us.ibm.com
===================



                      "Shawn Fessenden"
                      <shawn@testech-lt        To:       "VEE vrf" <vrf@it.lists.it.agilent.com>
                      d.com>                   cc:
                                               Subject:  [vrf] RE: switching activeX versions
                      06/11/2003 12:08
                      PM
                      Please respond to
                      "Shawn Fessenden"





> I turned off word 9.0 automation
> reference, saved, possibly with a
> different name.  Next time it
> complained about not finding 9.0,
> it automatically selected 10.0,
> and worked.

Gosh, and here I thought it was something serious

That's a simple case of not having a selected library installed. You can
stop it complaining about the version 9 library. VEE stores these
references
very simply in the VEE source code like so:

(automationRef 1
(libid "{00062FFF-0000-0000-C000-000000000046}")
(desc "Microsoft Outlook 9.0 Object Library")
(filename "C:\PROGRA~1\MICROS~2\Office\msoutl9.olb")
(verMajor 9)
(verMinor 0)
(lcid 0))

You can delete this stuff with no ill effects. Be careful to match up the
parentheses though. In fact, you don't even need to select any references
in
the Automatation References dialog. All this does is enable browsing with
the Function & Object browser. Well, that an it's a pre-run check to make
sure the libraries are installed on the target machine (that's where your
warning comes from). You don't need that check though. If the library isn't
installed, then CreateObject will fail. The reason yours doesn't fail is
because you wisely used a version independent progid (and I bet you didn't
even know it).
-SHAWN-


---
You are currently subscribed to vrf as: scubaman@us.ibm.com
To subscribe send a blank email to "join-vrf@it.lists.it.agilent.com".
To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com".
To send messages to this mailing list,  email
"vrf@it.lists.it.agilent.com".
If you need help with the mailing list send a message to
"owner-vrf@it.lists.it.agilent.com".



---
You are currently subscribed to vrf as: rsb@soco.agilent.com
To subscribe send a blank email to "join-vrf@it.lists.it.agilent.com".
To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com".
To send messages to this mailing list,  email "vrf@it.lists.it.agilent.com". 
If you need help with the mailing list send a message to "owner-vrf@it.lists.it.agilent.com".

Outcomes