6 Replies - 12588 Views - Last Post: 14 September 2015 - 11:43 PM Rate Topic: -----

#1 Zainal M.   User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 5
  • Joined: 19-August 15

Object Library Not registered

Posted 19 August 2015 - 01:32 AM

Hi everyone.

i have code in my pc and i've format my pc (my previous system and my current system is windows 7). My code is worked before but after i've format and i'm put component (masked edit) in my code i've got this error:

Object Library Not Registered

can anyone help me?

thanks before. :helpsmilie:/> :helpsmilie:/> :helpsmilie:/> :helpsmilie:/>

Is This A Good Question/Topic? 0
  • +

Replies To: Object Library Not registered

#2 modi123_1   User is online

  • Suitor #2
  • member icon



Reputation: 16116
  • View blog
  • Posts: 64,255
  • Joined: 12-June 08

Re: Object Library Not registered

Posted 19 August 2015 - 06:50 AM

Where's the 'masked edit' from? Do you need to reinstall some sort of sdk or package?
Was This Post Helpful? 0
  • +
  • -

#3 Zainal M.   User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 5
  • Joined: 19-August 15

Re: Object Library Not registered

Posted 19 August 2015 - 04:06 PM

No.Masked edit just from project component.I used the masked edit in my code and that worked before i format my pc
Was This Post Helpful? 0
  • +
  • -

#4 Zainal M.   User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 5
  • Joined: 19-August 15

Re: Object Library Not registered

Posted 25 August 2015 - 12:12 AM

Hi.

Anybody can help me?
Was This Post Helpful? 0
  • +
  • -

#5 andrewsw   User is offline

  • no more Mr Potato Head
  • member icon

Reputation: 6945
  • View blog
  • Posts: 28,660
  • Joined: 12-December 12

Re: Object Library Not registered

Posted 25 August 2015 - 06:43 AM

The following is a common process from VBA but I think it applies to VB6 as well:

Go to Tools, References (I think it's the same location in VB6)
If there is a reference with the word MISSING then
Un-tick it, exit and restart VB6, then find and tick the reference again.

If not you may have to manually register the type, as described here at SO.
Was This Post Helpful? 0
  • +
  • -

#6 BobRodes   User is offline

  • Product Manager
  • member icon

Reputation: 607
  • View blog
  • Posts: 3,086
  • Joined: 19-May 09

Re: Object Library Not registered

Posted 11 September 2015 - 10:54 PM

Andrew, you know VBA better than I do, but in VB6 missing reference happens when you set a reference to a class and then unregister the class. It happens most often when you are building classes of your own, since by default every time you recompile you assign a new GUID to your class. The MaskedEdit control is under Tools/Components. While you can find missing references there, too, you would have to set a reference and then specifically unregister the ocx.

Zainal, if you haven't done that, then perhaps you don't have

The masked edit control is under components rather than references. So, double check to be sure that you have the component selected. If you do not, then select it. If you can't find it, look to see if msmask32.ocx is registered. If you don't know how to do that, post back.
Was This Post Helpful? 1
  • +
  • -

#7 Zainal M.   User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 5
  • Joined: 19-August 15

Re: Object Library Not registered

Posted 14 September 2015 - 11:43 PM

View Postandrewsw, on 25 August 2015 - 06:43 AM, said:

The following is a common process from VBA but I think it applies to VB6 as well:

Go to Tools, References (I think it's the same location in VB6)
If there is a reference with the word MISSING then
Un-tick it, exit and restart VB6, then find and tick the reference again.

If not you may have to manually register the type, as described here at SO.


Hi andrewsw,

why i dont get notification from youre post? :( :(

I cant find what youre mention before. Maybe it just like BobRodes said.

View PostBobRodes, on 11 September 2015 - 10:54 PM, said:

Andrew, you know VBA better than I do, but in VB6 missing reference happens when you set a reference to a class and then unregister the class. It happens most often when you are building classes of your own, since by default every time you recompile you assign a new GUID to your class. The MaskedEdit control is under Tools/Components. While you can find missing references there, too, you would have to set a reference and then specifically unregister the ocx.

Zainal, if you haven't done that, then perhaps you don't have

The masked edit control is under components rather than references. So, double check to be sure that you have the component selected. If you do not, then select it. If you can't find it, look to see if msmask32.ocx is registered. If you don't know how to do that, post back.


Hi BobRodes.Thanks for the reply

I'm already registered the ocx file but when i tick the masked edit component i just get the error.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1