Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


VB2008- How to show date

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
Orbit
Advanced Cheater
Reputation: 0

Joined: 09 Dec 2007
Posts: 74

PostPosted: Tue Jul 08, 2008 7:55 am    Post subject: VB2008- How to show date Reply with quote

I just wanted to ask how do i show date in a textbox


I tried many things but it gave errors it was easy to display date in vb6 though this is one of my attempt

Code:
    Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load

textbox1.text=datevalue

    End Sub
Back to top
View user's profile Send private message
Heartless
I post too much
Reputation: 0

Joined: 03 Dec 2006
Posts: 2436

PostPosted: Tue Jul 08, 2008 7:57 am    Post subject: Reply with quote

I have no idea in VB2008, but in VB6 it would be something like...

Code:
Label1.caption = Date

_________________
What dosen't kill you, usually does the second time.
Back to top
View user's profile Send private message
Orbit
Advanced Cheater
Reputation: 0

Joined: 09 Dec 2007
Posts: 74

PostPosted: Tue Jul 08, 2008 8:03 am    Post subject: Reply with quote

I know it in vb6 but want to know how to do in vb2008
Back to top
View user's profile Send private message
Typhoon808
Expert Cheater
Reputation: 0

Joined: 27 Mar 2008
Posts: 175
Location: Wales

PostPosted: Tue Jul 08, 2008 8:29 am    Post subject: Reply with quote

TextBox1.Text = Date.Today or alternatively you can use Date.Now to show the current time, too.
Back to top
View user's profile Send private message
Orbit
Advanced Cheater
Reputation: 0

Joined: 09 Dec 2007
Posts: 74

PostPosted: Tue Jul 08, 2008 8:49 am    Post subject: Reply with quote

Typhoon808 wrote:
TextBox1.Text = Date.Today or alternatively you can use Date.Now to show the current time, too.


Awesome Man
Thanks:)
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming All times are GMT - 6 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
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites