Click here to Skip to main content
16,015,973 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: Trim Method Pin
PandemoniumPasha16-Jun-07 22:49
PandemoniumPasha16-Jun-07 22:49 
AnswerRe: Trim Method Pin
koolprasad200317-Jun-07 19:50
professionalkoolprasad200317-Jun-07 19:50 
QuestionDate fromat problem Pin
Tamimi - Code16-Jun-07 20:35
Tamimi - Code16-Jun-07 20:35 
AnswerRe: Date fromat problem Pin
PandemoniumPasha16-Jun-07 21:26
PandemoniumPasha16-Jun-07 21:26 
GeneralRe: Date fromat problem Pin
Tamimi - Code16-Jun-07 21:55
Tamimi - Code16-Jun-07 21:55 
GeneralRe: Date fromat problem Pin
PandemoniumPasha16-Jun-07 22:42
PandemoniumPasha16-Jun-07 22:42 
GeneralRe: Date fromat problem Pin
Tamimi - Code16-Jun-07 22:53
Tamimi - Code16-Jun-07 22:53 
GeneralRe: Date fromat problem Pin
PandemoniumPasha16-Jun-07 23:07
PandemoniumPasha16-Jun-07 23:07 
Tamimi - Code wrote:
actually this is the way i used to solve it.
but i don't think it is the best way to solve the problem


the best way depends upon where you want to store the data.
you have not made it clear where you want to save it? i asked you in earlier post.

if you are saving the data in a database then you will have to store the datetime object, but if you are storing it in a text file, you can't do that.
you will have to format it. for example save the year,month,day... in a file and use it when you want to create a datetime object: datetime dt = new datetime(year,month,day) or you can save the ticks and use it to create the object when you read from the file like: datetime dt = new datetime(ticks)

hope this helps.


regards
Smile | :)

AnswerRe: Date fromat problem Pin
Guffa17-Jun-07 3:33
Guffa17-Jun-07 3:33 
GeneralRe: Date fromat problem Pin
Tamimi - Code17-Jun-07 19:29
Tamimi - Code17-Jun-07 19:29 
GeneralRe: Date fromat problem Pin
Dave Kreskowiak18-Jun-07 1:14
mveDave Kreskowiak18-Jun-07 1:14 
GeneralRe: Date fromat problem Pin
Tamimi - Code18-Jun-07 4:01
Tamimi - Code18-Jun-07 4:01 
GeneralRe: Date fromat problem Pin
Dave Kreskowiak18-Jun-07 4:10
mveDave Kreskowiak18-Jun-07 4:10 
AnswerRe: Date fromat problem Pin
Sathesh Sakthivel17-Jun-07 3:54
Sathesh Sakthivel17-Jun-07 3:54 
AnswerRe: Date fromat problem Pin
Dave Kreskowiak17-Jun-07 4:30
mveDave Kreskowiak17-Jun-07 4:30 
QuestionSave drawing to an image in VB.NET Pin
hsprasain16-Jun-07 12:41
hsprasain16-Jun-07 12:41 
AnswerRe: Save drawing to an image in VB.NET Pin
Christian Graus16-Jun-07 14:24
protectorChristian Graus16-Jun-07 14:24 
AnswerRe: Save drawing to an image in VB.NET Pin
GuyThiebaut17-Jun-07 6:43
professionalGuyThiebaut17-Jun-07 6:43 
Questionbuild editor program(notepad)with vb.net Pin
ilnaz16-Jun-07 10:25
ilnaz16-Jun-07 10:25 
AnswerRe: build editor program(notepad)with vb.net Pin
Christian Graus16-Jun-07 14:26
protectorChristian Graus16-Jun-07 14:26 
Questionbuild editor program(notepad)with vb.net Pin
ilnaz16-Jun-07 10:17
ilnaz16-Jun-07 10:17 
QuestionEXCEL to HTML Pin
Vidhya Sagar16-Jun-07 6:24
Vidhya Sagar16-Jun-07 6:24 
AnswerRe: EXCEL to HTML Pin
Expert Coming16-Jun-07 13:43
Expert Coming16-Jun-07 13:43 
QuestionHow to adjust the size of the toolstrip control ? Pin
Aniket Sonawane16-Jun-07 5:55
Aniket Sonawane16-Jun-07 5:55 
Questionhow can i convert word document to XML using vb.net Pin
koolprasad200316-Jun-07 0:00
professionalkoolprasad200316-Jun-07 0:00 

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.