Click here to Skip to main content
15,912,457 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Need to detect toolbar button click in 3rd party app Pin
Luc Pattyn2-May-10 1:49
sitebuilderLuc Pattyn2-May-10 1:49 
GeneralRe: Need to detect toolbar button click in 3rd party app Pin
drh65582-May-10 8:21
drh65582-May-10 8:21 
GeneralRe: Need to detect toolbar button click in 3rd party app Pin
Luc Pattyn2-May-10 8:47
sitebuilderLuc Pattyn2-May-10 8:47 
RantRe: Need to detect toolbar button click in 3rd party app Pin
εїзεїзεїз3-May-10 10:00
εїзεїзεїз3-May-10 10:00 
GeneralRe: Need to detect toolbar button click in 3rd party app Pin
drh65584-May-10 5:38
drh65584-May-10 5:38 
GeneralRe: Need to detect toolbar button click in 3rd party app Pin
εїзεїзεїз4-May-10 19:37
εїзεїзεїз4-May-10 19:37 
GeneralRe: Need to detect toolbar button click in 3rd party app Pin
drh65585-May-10 6:14
drh65585-May-10 6:14 
QuestionProblem in setting DateTime value explicitly. Pin
priyamtheone1-May-10 6:31
priyamtheone1-May-10 6:31 
I want to pick a value from a DateTimePicker in 'MM/dd/yyyy hh:mm tt' format, add 00 as second with it, store it in a DateTime variable and save it to database. Suppose if I pick the value 05/28/2010 9:25 AM or 05/28/2010 9:25:34 AM from the DateTimePicker, it'll be stored in the variable and saved to database as 05/28/2010 9:25:00 AM irrespective of what value is chosen from the DateTimePicker for second. I'm using the following statement but it's getting failed during the format conversion while storing it in the DateTime variable generating an error.

Dim dtmReminderTime As DateTime
dtmReminderTime = DateTime.Parse(Format(dtpReminderTime.Value, "MM/dd/yyyy hh:mm") + ":00 " + Format(dtpReminderTime.Value, "tt"))

I tried the other way but failed:
dtmReminderTime = Convert.ToDateTime(Format(dtpReminderTime.Value, "MM/dd/yyyy hh:mm") + ":00 " + Format(dtpReminderTime.Value, "tt"))

I have also tried using culture specific information but of no avail. Please help.
AnswerRe: Problem in setting DateTime value explicitly. Pin
Luc Pattyn1-May-10 6:54
sitebuilderLuc Pattyn1-May-10 6:54 
AnswerRe: Problem in setting DateTime value explicitly. Pin
Andy_L_J1-May-10 13:01
Andy_L_J1-May-10 13:01 
QuestionProblem with DateTime matching. Pin
priyamtheone1-May-10 6:31
priyamtheone1-May-10 6:31 
AnswerRe: Problem with DateTime matching. Pin
Luc Pattyn1-May-10 6:48
sitebuilderLuc Pattyn1-May-10 6:48 
QuestionCheck the entrances to the keyboard and clean the buffer Pin
yera200230-Apr-10 11:38
yera200230-Apr-10 11:38 
AnswerRe: Check the entrances to the keyboard and clean the buffer Pin
Dave Kreskowiak30-Apr-10 17:48
mveDave Kreskowiak30-Apr-10 17:48 
QuestionConvert from decimal to hexidecimal? Pin
Adam Wike30-Apr-10 3:48
Adam Wike30-Apr-10 3:48 
AnswerRe: Convert from decimal to hexidecimal? Pin
Dave Kreskowiak30-Apr-10 3:58
mveDave Kreskowiak30-Apr-10 3:58 
AnswerRe: Convert from decimal to hexidecimal? [modified] Pin
Dalek Dave30-Apr-10 4:00
professionalDalek Dave30-Apr-10 4:00 
GeneralRe: Convert from decimal to hexidecimal? Pin
DaveAuld30-Apr-10 4:19
professionalDaveAuld30-Apr-10 4:19 
GeneralRe: Convert from decimal to hexidecimal? Pin
Dalek Dave30-Apr-10 4:23
professionalDalek Dave30-Apr-10 4:23 
GeneralRe: Convert from decimal to hexidecimal? Pin
DaveAuld30-Apr-10 4:28
professionalDaveAuld30-Apr-10 4:28 
GeneralRe: Convert from decimal to hexidecimal? Pin
Adam Wike1-May-10 13:32
Adam Wike1-May-10 13:32 
QuestionDynamically adding tool strip buttons [modified] Pin
MacRaider430-Apr-10 2:54
MacRaider430-Apr-10 2:54 
AnswerRe: Dynamically adding tool strip buttons Pin
Simon_Whale30-Apr-10 3:17
Simon_Whale30-Apr-10 3:17 
GeneralRe: Dynamically adding tool strip buttons Pin
MacRaider430-Apr-10 3:39
MacRaider430-Apr-10 3:39 
GeneralRe: Dynamically adding tool strip buttons Pin
MacRaider430-Apr-10 3:49
MacRaider430-Apr-10 3:49 

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.