Re: auto-REregistering VB6 components?



Ken, you're obviously used to doing things the manual way, which
results in a greater level of knowledge (usually ) and control. I hope
to get there some day, but I need a solution to this problem for now.
I'd be curious to know where your components appear under in the
components manager. I thought you were required to put them under some
application package.

Ken Halter wrote:
"javelin" <google.1.jvmail@xxxxxxxxxxxxxxx> wrote in message
news:1164911728.007909.118720@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx


I checked the project properties, and it is set to Binary Compatibility
for version compatibility. I am new to creating components, and was
told I should simply delete the existing registry entry for the
component, then remake the component, and reregister it. This is a long
process, because I have to select the component package in the
component manager, uncheck the "Enforce access checks for this
application", then re-add the component, then set it's security tab
roles manually, then enable object construction (under the activation
tab) and change the constructor string for the database connection. I
have to do this on the DEV system, the testing system and the
production system, each having their own username/password combo. This
obviously gets old after the 10th or 12th time that day.

Thanks for any additional input.

hmmm... I've never (ever) used that component manager for anything...
hopefully, someone that has experience with it will pop in and add to this
thread.

Personally, I just build the components and when they're ready for "the
world", I place them in a public folder on the network. No managers involved
<g>

--
Ken Halter - MS-MVP-VB - Please keep all discussions in the groups..
In Loving Memory - http://www.vbsight.com/Remembrance.htm

.



Relevant Pages

  • Re: auto-REregistering VB6 components?
    ... and it is set to Binary Compatibility ... component manager, uncheck the "Enforce access checks for this ... application", then re-add the component, then set it's security tab ... then enable object construction (under the activation ...
    (microsoft.public.vb.enterprise)
  • Re: auto-REregistering VB6 components?
    ... components manager. ... then enable object construction (under the activation ... The key to the Component Manger is that it manages "Published Components" ... that are expected to be shared among multiple projects and multiple ...
    (microsoft.public.vb.enterprise)

Loading