User Name Password Register
DaniWeb IT Discussion Community
All
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 423,215 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 4,881 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: Programming Forums

vb.net

Join Date: Apr 2008
Posts: 4
Reputation: rk4088 is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
rk4088 rk4088 is offline Offline
Newbie Poster

vb.net

  #1  
May 13th, 2008
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
AddThis Social Bookmark Button
Reply With Quote  
All times are GMT -4. The time now is 9:02 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC