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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Use .ocx-control

Status
Not open for further replies.

Mollethewizard

IS-IT--Management
Nov 18, 2002
93
SE
Is it possible to use the mxmask32.ocx located in windows\system32 on a user form?

If it is, how can I do it?

Happy weekend to you all
Mollethewizard
 
Yes
Right-click the VBA Toolbox and then scroll down the list to Microsoft Masked Edit Control and check the box and click OK. You should now be able to place the control on your form.
 
That is possible if you have a visual basic licence on your computer witch I have not.

Other suggestions?

Mollethewizard
 
If you don't have VB then you don't have a design time licence, and a design time license is required to use the OCX in VBA. So no, you can't use it I'm afraid.
 
If you do have VB you may have a design time licence but just now that may not be the end of it ref. thread707-1530759

Strongm I'm wondering if the VB6 design time licence for controls is only good if they are used on VB6 Forms and not VBA User Forms. Do you happen to know the actual situation?
 
You can use them on VBA forms as long as you have VB6 installed.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top