Click here to Skip to main content
16,005,149 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionOnBeforeKeyPress Pin
Ballita24-Sep-08 18:49
Ballita24-Sep-08 18:49 
AnswerRe: OnBeforeKeyPress Pin
User 81152324-Sep-08 19:08
User 81152324-Sep-08 19:08 
QuestionAsking about Updating SQL Database row Pin
drexler_kk24-Sep-08 18:24
drexler_kk24-Sep-08 18:24 
AnswerRe: Asking about Updating SQL Database row Pin
Johan Hakkesteegt24-Sep-08 22:03
Johan Hakkesteegt24-Sep-08 22:03 
GeneralRe: Asking about Updating SQL Database row Pin
drexler_kk24-Sep-08 22:46
drexler_kk24-Sep-08 22:46 
GeneralRe: Asking about Updating SQL Database row Pin
Johan Hakkesteegt25-Sep-08 0:35
Johan Hakkesteegt25-Sep-08 0:35 
QuestionFormat Dates of TextBox or DateTimePicker Pin
sur07124-Sep-08 15:26
sur07124-Sep-08 15:26 
AnswerRe: Format Dates of TextBox or DateTimePicker Pin
User 81152324-Sep-08 17:52
User 81152324-Sep-08 17:52 
TextBox1.Text = Format(dt, "dd-MM-yyyy")

Found at:
http://www.programmersheaven.com/mb/VBNET/273453/273453/bounded-textbox/?S=B20000[^]

or

If you cast the date as a datetime datatype first, you can then use its methods to format your date. Something like:

' replace string value with your dataset value
dim MyDate as DateTime = "12/06/1966 00:00"
txtMyDate.Text = MyDate.ToString("mm/dd/yyyy")

You can also still use the old VB Format() function.

Found at:

http://forums.devarticles.com/net-development-43/date-formating-a-textbox-in-vb-net-14089.html[^]

If you need any more information. Let me know.

modified 18-Dec-21 21:01pm.

GeneralRe: Format Dates of TextBox or DateTimePicker Pin
sur07124-Sep-08 23:41
sur07124-Sep-08 23:41 
GeneralRe: Format Dates of TextBox or DateTimePicker Pin
User 81152325-Sep-08 10:21
User 81152325-Sep-08 10:21 
QuestionWeird IE7 DocumentComplete Error. Pin
User 81152324-Sep-08 12:23
User 81152324-Sep-08 12:23 
AnswerRe: Weird IE7 DocumentComplete Error. Pin
Steven J Jowett24-Sep-08 13:05
Steven J Jowett24-Sep-08 13:05 
GeneralRe: Weird IE7 DocumentComplete Error. Pin
User 81152324-Sep-08 15:41
User 81152324-Sep-08 15:41 
GeneralRe: Weird IE7 DocumentComplete Error. Pin
Johan Hakkesteegt24-Sep-08 21:42
Johan Hakkesteegt24-Sep-08 21:42 
GeneralRe: Weird IE7 DocumentComplete Error. [modified] Pin
User 81152325-Sep-08 10:14
User 81152325-Sep-08 10:14 
GeneralRe: Weird IE7 DocumentComplete Error. [modified] Pin
User 81152325-Sep-08 12:03
User 81152325-Sep-08 12:03 
QuestionFont Color Change Pin
Member 457761924-Sep-08 8:42
Member 457761924-Sep-08 8:42 
AnswerRe: Font Color Change Pin
Dave Kreskowiak24-Sep-08 9:34
mveDave Kreskowiak24-Sep-08 9:34 
AnswerRe: Font Color Change Pin
Paul Conrad24-Sep-08 10:57
professionalPaul Conrad24-Sep-08 10:57 
AnswerRe: Font Color Change Pin
Steven J Jowett24-Sep-08 11:13
Steven J Jowett24-Sep-08 11:13 
GeneralRe: Font Color Change Pin
Paul Conrad24-Sep-08 11:27
professionalPaul Conrad24-Sep-08 11:27 
GeneralRe: Font Color Change Pin
Steven J Jowett24-Sep-08 11:35
Steven J Jowett24-Sep-08 11:35 
GeneralRe: Font Color Change Pin
Member 457761924-Sep-08 13:09
Member 457761924-Sep-08 13:09 
QuestionNovell C3PO in Visual Basic Pin
accessdanwi24-Sep-08 3:19
accessdanwi24-Sep-08 3:19 
AnswerRe: Novell C3PO in Visual Basic Pin
Steven J Jowett24-Sep-08 3:55
Steven J Jowett24-Sep-08 3:55 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.