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 397,646 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,369 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: 163 | Replies: 0
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  

Only community members can participate in forum threads. You must register or log in to contribute.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

DaniWeb VB.NET Marketplace
Thread Tools Display Modes

Similar Threads
Other Threads in the VB.NET Forum

All times are GMT -4. The time now is 11:11 pm.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC