Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations John Tel on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

maskeditbox MSMASK32.ocx problem

Status
Not open for further replies.

geeteshk

Programmer
Aug 19, 2002
58
IN
hi

ufobaby sent me this reply about

the maskedit box.

the MSMASK32.ocx is in my windows\system
folder but
Project -> Components(Controls) -> "Microsoft Masked Edit Control 6.0

is not present how can i use it
please help
thanks for the previous help
 
you may have already done this but first make sure that the "Selected Items Only" check box is not checked and that you are on the "Controls" tab

If the control is still not in your list then you could click on the "Browse" button and navigate to the .OCX file
 
hi

i add the maskedit control using browse from

project->components

the control got added

but i got the following error :)

"Licence information for this component not found. You do not have an appropriate licence to use this functionality in the design environment"

please tell me what to do
thanks for your help!
 
You need to check that your OCX is registered:
Use regsvr32 to register each OCX. Use the command line 'regsvr32 /s filename' The complete usage is as follows:

regsvr32 [/u] [/s] [/c]] dllname
/u - Unregister server.
/s - Silent; display no messages.
/c - Console output. Let me know if this helps
________________________________________________________________
If you are worried about how to post, please check out FAQ222-2244 first

'There are 10 kinds of people in the world: those who understand binary, and those who don't.'
 
geeteshk,

It will be easier to help you if you keep one question in one thread Let me know if this helps
________________________________________________________________
If you are worried about how to post, please check out FAQ222-2244 first

'There are 10 kinds of people in the world: those who understand binary, and those who don't.'
 
hi

i used

regsvr32 /s c:\windows\system\MSMASK32.ocx

then i started vb but still i get the same error ie
"Licence information for this component not found. You do not have an appropriate licence to use this functionality in the design environment"

what do i do
 
i will keep 1 question in 1 thread from now on. i thought none looked in a thread after they answered it once. so i started a new one

by the way i have win98 onmy system
and i didnot restart after the command was executed
 
It's always worth restarting after any registry changes - some stuff in registry only gets looked at during startup Let me know if this helps
________________________________________________________________
If you are worried about how to post, please check out FAQ222-2244 first

'There are 10 kinds of people in the world: those who understand binary, and those who don't.'
 
i restarted but it still wont work
anything else you know

you have been of greathelp :)
 
Try unregister OCX, restart, then Re-register and Restart. Stuff gets clogged up in registry sometimes, especially if it's a long time since you last nuked your harddrive.

Failing that, nuke it and start again!

Good luck if you have to do that! Let me know if this helps
________________________________________________________________
If you are worried about how to post, please check out FAQ222-2244 first

'There are 10 kinds of people in the world: those who understand binary, and those who don't.'
 
As in my previous post:
Use regsvr32 to register each OCX. Use the command line 'regsvr32 /s filename' The complete usage is as follows:

regsvr32 [/c]] dllname
/u - Unregister server.
/s - Silent; display no messages.
/c - Console output.


So 'regsvr32 /u /s filename' Let me know if this helps
________________________________________________________________
If you are worried about how to post, please check out FAQ222-2244 first

'There are 10 kinds of people in the world: those who understand binary, and those who don't.'
 
it gets registered but the problem i suppose lies in some licence
please read the error closely
its as follows

"Licence information for this component not found. You do not have an appropriate licence to use this functionality in the design environment"

 
If you have full VB6 licenced version, then you should have masked edit included.
The usual reason for this error, if you have a full licenced version, is some hiccup in registry (possibly due to another program registering a version of that OCX which is non-compatible).

You could try re-installing VB Let me know if this helps
________________________________________________________________
If you are worried about how to post, please check out FAQ222-2244 first

'There are 10 kinds of people in the world: those who understand binary, and those who don't.'
 
hi

thanks for all your help

I solved my problem by getting a enterprize edition of vb fr0m a friend
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top