my two simple problems
-
(1) How can I code a text box to accept characters of the alphabet, a spacebar (and a - for double barrel names) only? Ideally this text box is named txtName and is supposed to accept people’s names. (2) In VB. NET how can I create a library of common procedures that I will constantly need to copy and paste to different projects Been always great to be part of this forum, especially when I know they know more than what I know…..
-
(1) How can I code a text box to accept characters of the alphabet, a spacebar (and a - for double barrel names) only? Ideally this text box is named txtName and is supposed to accept people’s names. (2) In VB. NET how can I create a library of common procedures that I will constantly need to copy and paste to different projects Been always great to be part of this forum, especially when I know they know more than what I know…..
bensoncd wrote: How can I code a text box to accept characters of the alphabet, a spacebar (and a - for double barrel names) only? Ideally this text box is named txtName and is supposed to accept people’s names. You could run a regular expression on the contents of the textbox changing, and disable the OK button (or whatever) until the expression matches. bensoncd wrote: (2) In VB. NET how can I create a library of common procedures that I will constantly need to copy and paste to different projects Try creating a Class Library project. This allows you to create a .NET assembly (held in a DLL) that can contain your common code base.
Ian Darling "One of the few systems...which has had “no deaths” in the reliability requirements." - Michael Platt