VB6, "Component not correctly registered" 
Author Message
 VB6, "Component not correctly registered"

Env: DevStudio 6.0(sp1), NT4(sp3)

Upon distrubuting a simple VB we found it produced an error 336,
Component not correctly registered.  This VB app only uses a standard
ole container containing mspaint(a zero line app).

One of the machines with the problem had DevStudio on it so I fired up
VB.  To my surprise, simply starting a new Standard EXE, selecting OLE
container(drawing one on the form) and choosing Paint.Picture from the
resulting dialog produced this message "Component not correctly
registered."  I then tried Word, Excel, Chart and many others all with
the same result.

Something basic on these machines must be wrong.  Note that one of the
machines is {*filter*} - no devstudio, nothing but NT4(sp4) - our test
machine.

Naturally VB is too weak to even clue me in as to who isn't "correctly"
registered whatever that is.  A search of MSDN and the DCOM archines
produced nothing.  If several of our machines here produced it with a
"zero lines of code" app it must be common...

Any direct fix or hints on how to track it down would be greatly
appreciated.



Mon, 31 Dec 2001 03:00:00 GMT  
 VB6, "Component not correctly registered"
On the machine with DevStudio, open a new project and look in the References
dialog to see if it shows MISSING for any of the references.  This is
probably your missing registration.

--

Aaron Boldt
Computer Solution Specialists, Inc.


Quote:
> Env: DevStudio 6.0(sp1), NT4(sp3)

> Upon distrubuting a simple VB we found it produced an error 336,
> Component not correctly registered.  This VB app only uses a standard
> ole container containing mspaint(a zero line app).

> One of the machines with the problem had DevStudio on it so I fired up
> VB.  To my surprise, simply starting a new Standard EXE, selecting OLE
> container(drawing one on the form) and choosing Paint.Picture from the
> resulting dialog produced this message "Component not correctly
> registered."  I then tried Word, Excel, Chart and many others all with
> the same result.

> Something basic on these machines must be wrong.  Note that one of the
> machines is {*filter*} - no devstudio, nothing but NT4(sp4) - our test
> machine.

> Naturally VB is too weak to even clue me in as to who isn't "correctly"
> registered whatever that is.  A search of MSDN and the DCOM archines
> produced nothing.  If several of our machines here produced it with a
> "zero lines of code" app it must be common...

> Any direct fix or hints on how to track it down would be greatly
> appreciated.



Mon, 31 Dec 2001 03:00:00 GMT  
 VB6, "Component not correctly registered"


Quote:
> Env: DevStudio 6.0(sp1), NT4(sp3)

> Upon distrubuting a simple VB we found it produced an error 336,
> Component not correctly registered.  This VB app only uses a standard
> ole container containing mspaint(a zero line app).

> One of the machines with the problem had DevStudio on it so I fired up
> VB.  To my surprise, simply starting a new Standard EXE, selecting OLE
> container(drawing one on the form) and choosing Paint.Picture from the
> resulting dialog produced this message "Component not correctly
> registered."  I then tried Word, Excel, Chart and many others all with
> the same result.

If the reference is not missing, the file that contains the OLE control
may be corrupt.  I think its the 'VB6.olb' file that contains this
control, but I may be wrong.  Try reinstalling VB, or finding a working
copy of this file.

Quote:
> Something basic on these machines must be wrong.  Note that one of the
> machines is {*filter*} - no devstudio, nothing but NT4(sp4) - our test
> machine.

> Naturally VB is too weak to even clue me in as to who isn't
"correctly"
> registered whatever that is.  A search of MSDN and the DCOM archines
> produced nothing.  If several of our machines here produced it with a
> "zero lines of code" app it must be common...

> Any direct fix or hints on how to track it down would be greatly
> appreciated.

Sent via Deja.com http://www.*-*-*.com/
Share what you know. Learn what you don't.


Tue, 01 Jan 2002 03:00:00 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. "Component Not Correctly Registered"

2. "Object server not correctly registered" error

3. VB4 "Object Server Not Correctly Registered"

4. "Object Server Not Correctly Registered"

5. Error "Object Server not correctly registered"?

6. "Object Server Not Correctly Registered" - Solution

7. "Object server not correctly registered"

8. err "object server not correctly registered "

9. Error - "Oject Server Not correctly registered."

10. Error - "Oject Server Not correctly registered."

11. "Error 336", Composant not register correctly

12. "Object server not correctly registered

 

 
Powered by phpBB® Forum Software