ParsX.com
پذیرش پروژه از دانشجویی ... تا سازمانی 09376225339
 
   ProfileProfile   Log in to check your private messagesLog in to check your private messages  |  FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups Log inLog in   RegisterRegister 

سوال:تکست باکس

 
Post new topic   Reply to topic    ParsX.com Forum Index -> ويژوال بيسيك .NET
View previous topic :: View next topic  
Author Message
hamid_kahrazehi
مهمون يكي دو روزه


Joined: 04 May 2010
Posts: 1
Location: iran

PostPosted: Tue May 04, 2010 8:02 am    Post subject: سوال:تکست باکس Reply with quote

با سلام
چطور میتوانم از وارد کردن کاراکتر حروف در تکست باکس در وی بی 6 جلوگیری کنم که پیغام خطا دهد چون من تکست باکس رو رشته در نظر گرفتم و در ان تاریخ وارد میکنم به این شکل 02/02/1388 لطفا کمکم کنید
ضمنا چطور می توانم دو تاریخ شمسی رو از هم کم کنم که روز و سال و ماه رو به من بده


خداحافظ
Back to top
vahid
بي تو هرگز


Joined: 26 Nov 2004
Posts: 3067
Location: Tehran

PostPosted: Wed May 05, 2010 10:53 am    Post subject: Reply with quote

شما می تونی از masked text box استفاده کنی . پیشنهاد می کنم برای تاریخ از کامپوننت های اماده استفاده کنی تا دوباره مجبور نشی چرخ رو اختراع کنی.
Back to top
Display posts from previous:   
Post new topic   Reply to topic    ParsX.com Forum Index -> ويژوال بيسيك .NET All times are GMT + 3.5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum