Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

Masked Edit Control - MSMASK32.OCX

******************************

 

I have included the MSMASK32.OCX into my toolbox. I put such a Masked Edit on my Form1.

 

When I start the application on my computer where development environment is installed, everything works fine.

 

When I want to start my program on a machine where only the .NET-Framework is installed, it crashes on starting up in the sub "InitializeComponent()" at the following line:

 

CType(Me.AxMaskEdBox1, System.ComponentModel.ISupportInitialize).EndInit()

 

[This is a normal ending instruction for initializing components and is automatically added by the development environment!]

I have also put the necessary DLL's for the MaskedEdit are also in the application environment.

 

So, where might be the bug?

Posted (edited)

Thanks. That's it! - almost.

 

It does work fine now for hardcoded component. But with dynamically created components, there is a claim like:

 

"Your not licensed to use this ActiveX Control"

 

What's about that?

 

******************************************************

OLD:

>I didn't look at it the first time because this ActiveX is in the Windows folder. So at first, you might think its standard and therefore already registered...

Edited by jahuer1

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...