.NET Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsProgramming.NET Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
  #1  
Old October 29th, 2003, 04:49 AM
karthikmd karthikmd is offline
Junior Member
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Oct 2003
Posts: 2 karthikmd User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Question deployment setup project

hi,

i have a setup project which i created with the vs .net deployment projects tool. i have some custom screens which i added using the UI editor of the setup project. now i want to know how i can validate the values as and when the user enters them. meaning how can i make sure only numbers are entered and so on.

thanks in advance.

regards,
karthik

Reply With Quote
  #2  
Old April 19th, 2004, 07:53 AM
vanishboy vanishboy is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Apr 2004
Posts: 5 vanishboy User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Here's an example of a textbox, the user can only enter numbers & backspace:


PrivateSub tbTest_KeyPress(ByVal sender AsObject, ByVal e As System.Windows.Forms.KeyPressEventArgs) Handles tbTest.KeyPress

If ((e.KeyChar < "0" Or e.KeyChar > "9") And (e.KeyChar <> Chr(8)) Then

e.Handled = True
EndIf

EndSub


Reply With Quote
Reply

Viewing: Dev Articles Community ForumsProgramming.NET Development > deployment setup project


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway
Stay green...Green IT