•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the VB.NET section within the Software Development category of DaniWeb, a massive community of 375,214 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,286 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our VB.NET advertiser:
Views: 151 | Replies: 0
![]() |
•
•
Join Date: Apr 2008
Posts: 4
Reputation:
Rep Power: 0
Solved Threads: 0
I'm having a textbox in my form. I'm using tc table with field description.
description
-----------
AAA
BBB
CCC
DDD
if i externally insert the field as E.E.E
and then if i add EEE in my textbox it should made a info thro msgbox like 'description already exists'
how to do this..
give some coding..
i've done stripping special character function like this
<code>Public Function strip(ByVal des As String)
Dim strorigFileName As String
Dim intCounter As Integer
Dim arrSpecialChar() As String = {".", ",", "<", ">", ":", "?", """", "/", "{", "[", "}", "]", "`", "~", "!", "@", "#", "$", "%", "^", "&", "*", "(", ")", "_", "-", "+", "=", "|", "", "\"}
strorigFileName = des
intCounter = 0
Do Until intCounter = 29
des = Replace(strorigFileName, arrSpecialChar(intCounter), "")
intCounter = intCounter + 1
strorigFileName = des
Loop
Return strorigFileName
End Function
</code>
please do help
Thanks in advance
description
-----------
AAA
BBB
CCC
DDD
if i externally insert the field as E.E.E
and then if i add EEE in my textbox it should made a info thro msgbox like 'description already exists'
how to do this..
give some coding..
i've done stripping special character function like this
<code>Public Function strip(ByVal des As String)
Dim strorigFileName As String
Dim intCounter As Integer
Dim arrSpecialChar() As String = {".", ",", "<", ">", ":", "?", """", "/", "{", "[", "}", "]", "`", "~", "!", "@", "#", "$", "%", "^", "&", "*", "(", ")", "_", "-", "+", "=", "|", "", "\"}
strorigFileName = des
intCounter = 0
Do Until intCounter = 29
des = Replace(strorigFileName, arrSpecialChar(intCounter), "")
intCounter = intCounter + 1
strorigFileName = des
Loop
Return strorigFileName
End Function
</code>
please do help
Thanks in advance
![]() |
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
•
•
•
•
•
•
•
•
DaniWeb VB.NET Marketplace
Similar Threads
- Freelance .NET / MS SQL developer (Web Development Job Offers)
- .Net Application Developer (Software Development Job Offers)
- .net Software Engineer (Software Development Job Offers)
- .NET Consultant (Software Development Job Offers)
- Software Engineer (.NET , SQL) (Software Development Job Offers)
- ASP.Net / C# Web Developer (Web Development Job Offers)
- ProgrammersTalk.net Recruiting Forum Posters (Internet Marketing Job Offers)
- .NET developers team searches projects (Post your Resume)
Other Threads in the VB.NET Forum
- Previous Thread: Mobile Applications
- Next Thread: adding time duration together


Linear Mode