Visual Basic .NET Forums  

Go Back   Visual Basic .NET Forums > VB.NET > Windows Forms

Windows Forms Discussion related to Winforms application development

VB.NET Forums Newsletter Signup:
Email address:


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 10-04-2008, 2:30 PM
mrtutorial08's Avatar
VB.NET Forum Newbie
.NET Framework: .NET 3.0 (VS 2005/2008)
 
Join Date: Sep 2008
Age: 15
Posts: 20
Reputation: 13
mrtutorial08 is on a distinguished programming path ahead
Question Inserting Date/Time into a Rich Text Editor?

How can I be able to insert the current date and time into a richtextbox when a button is pressed. Also How could I have a Date/Time Picker Dialog Box Show up when the user wants to select the custom display settings of the Date/Time Format.....

Any Help is Highly Appreciated! =D
__________________
MrWord is a free Word Processor I am working on. Here's a preview of it.
If you would like to help me out or know more about MrWord send a PM =D
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 10-05-2008, 11:12 AM
JohnH's Avatar
VB.NET Forum Moderator
.NET Framework: .NET 3.5 (VS 2008)
 
Join Date: Dec 2005
Location: Norway
Age: 36
Posts: 9,163
Reputation: 1079
JohnH has a reputation beyond reputeJohnH has a reputation beyond reputeJohnH has a reputation beyond reputeJohnH has a reputation beyond reputeJohnH has a reputation beyond reputeJohnH has a reputation beyond reputeJohnH has a reputation beyond reputeJohnH has a reputation beyond reputeJohnH has a reputation beyond reputeJohnH has a reputation beyond reputeJohnH has a reputation beyond repute
Default

Quote:
insert the current date and time into a richtextbox
Code:
Me.RichTextBox1.SelectedText = Date.Now.ToString
Quote:
Dialog Box Show up when the user wants to select the custom display settings of the Date/Time Format.....
Add a new Dialog form to your project and arrange your UI for date/time format settings.
__________________
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Bookmarks


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

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On





All times are GMT -4. The time now is 9:33 PM.

Powered by vBulletin® Version 3.8.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.0


For advertising opportunities click here.