Re: Register add-in to HKLM automatically
From: Peter Young (youngpa_at_comcast.no.net.spam.please)
Date: 06/10/04
- Next message: Ken Halter: "Re: Controls property"
- Previous message: JvF: "Register add-in to HKLM automatically"
- In reply to: JvF: "Register add-in to HKLM automatically"
- Next in thread: Stephen Bullen: "Re: Register add-in to HKLM automatically"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 10 Jun 2004 10:11:01 -0500
"JvF" <vanfrank@predicate.com> wrote in message news:11827299.0406100646.275f210d@posting.google.com...
> I have built an add-in using VB6 for outlook. When I build the DLL it
> places the registry entries automatically into HKCU as I expect. What
> I want is to have the registry entries (all of them) go to HKLM
> instead when I make the DLL (this is important as I plan to send this
> out as an install and I want them to run it and forget it - not have
> to change the registry manually). I can add almost all to HKLM myself
> using the Advanced Tab of the AddInDesigner but the DLL fails to load
> when I put LoadBehavior there.
>
> On a possibly similar note, this may be because whenever I make my DLL
> it loads the original settings I once had for DisplayName and
> Description even though I have removed these from the General tab
> before I create my DLL - What is going on there?
I don't know about Office, but VB6 add-in registry entries must be located in HKCU. You can't put them in HKLM - which
is good because otherwise, how would each user be able to specify their own add-in settings?
>
> Also, when I put CommandLineSafe and LoadBehavior in Addin Specific
> Data as DWORDs when they do appear in the registry the values are
> different than what I entered...???
Note that setting a VB add-in to load at startup and from the command line is not possible - the two are mutually
exclusive, and the startup setting will take precedence. I don't know that this is documented anywhere, I just know it
to be true from observation.
-Pete
- Next message: Ken Halter: "Re: Controls property"
- Previous message: JvF: "Register add-in to HKLM automatically"
- In reply to: JvF: "Register add-in to HKLM automatically"
- Next in thread: Stephen Bullen: "Re: Register add-in to HKLM automatically"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|