Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

I've become somewhat familiar with vb6 over the past years and just recently took up some .net self training. I'm just curious, how do you enable masks? I can add the msmask ocx com control, but it doesn't seem to work right when I fill the dataset. Is there another way to format or create masks for text boxes ect?? Any help would be great =)

 

Thanks all

 

~The One Who Was~

~~ The One Who Was ~~
  • *Experts*
Posted

You shouldn't use the MaskEdit box that was from VB6 as it's not a .NET control. You can now validate using Regular Expressions, though it won't provide the hard-coded placement of characters like a mask edit box. If you truly need that type of support, you can find many sample controls (with source) by searching google. Or, you could always buy a 3rd party control with that support.

 

I'm not sure why the mask edit doesn't work now as I'm not that familiar with it (haven't used it for many years).

 

-Nerseus

"I want to stand as close to the edge as I can without going over. Out on the edge you see all the kinds of things you can't see from the center." - Kurt Vonnegut

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...