Click here to Skip to main content
15,860,859 members
Home / Discussions / C#
   

C#

 
QuestionHow to reliably exit Outlook using Interop.Outlook? Pin
Server Automator30-Aug-20 14:43
professionalServer Automator30-Aug-20 14:43 
AnswerRe: How to reliably exit Outlook using Interop.Outlook? Pin
Gerry Schmitz31-Aug-20 4:50
mveGerry Schmitz31-Aug-20 4:50 
AnswerRe: How to reliably exit Outlook using Interop.Outlook? Pin
Dave Kreskowiak31-Aug-20 12:12
mveDave Kreskowiak31-Aug-20 12:12 
AnswerRe: How to reliably exit Outlook using Interop.Outlook? Pin
Mycroft Holmes31-Aug-20 12:15
professionalMycroft Holmes31-Aug-20 12:15 
Questionfind TIMES in string of text Pin
free-pizza30-Aug-20 13:52
free-pizza30-Aug-20 13:52 
AnswerRe: find TIMES in string of text Pin
Richard Andrew x6430-Aug-20 15:03
professionalRichard Andrew x6430-Aug-20 15:03 
GeneralRe: find TIMES in string of text Pin
free-pizza30-Aug-20 16:26
free-pizza30-Aug-20 16:26 
AnswerRe: find TIMES in string of text Pin
OriginalGriff30-Aug-20 19:47
mveOriginalGriff30-Aug-20 19:47 
Why is it long? A Regex to extract the times is pretty trivial:
C#
[012]?\d:\d\d
would work,or even
\d:\d\d
if the time is midnight - ten AM (less one second)
For real accuracy it should be
[012]?\d:[0-5]\d
to prevent 15:67 being accepted, but ...
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!

JokeRe: find TIMES in string of text Pin
Peter_in_278030-Aug-20 19:59
professionalPeter_in_278030-Aug-20 19:59 
GeneralRe: find TIMES in string of text Pin
OriginalGriff30-Aug-20 20:08
mveOriginalGriff30-Aug-20 20:08 
GeneralRe: find TIMES in string of text Pin
OriginalGriff30-Aug-20 20:11
mveOriginalGriff30-Aug-20 20:11 
GeneralRe: find TIMES in string of text Pin
Peter_in_278030-Aug-20 20:43
professionalPeter_in_278030-Aug-20 20:43 
GeneralRe: find TIMES in string of text Pin
free-pizza31-Aug-20 3:52
free-pizza31-Aug-20 3:52 
GeneralRe: find TIMES in string of text Pin
OriginalGriff31-Aug-20 4:08
mveOriginalGriff31-Aug-20 4:08 
QuestionWinforms Inherited form - Resources Pin
MarkB12327-Aug-20 1:19
MarkB12327-Aug-20 1:19 
AnswerRe: Winforms Inherited form - Resources Pin
GenJerDan27-Aug-20 1:50
GenJerDan27-Aug-20 1:50 
GeneralRe: Winforms Inherited form - Resources Pin
MarkB12327-Aug-20 1:51
MarkB12327-Aug-20 1:51 
GeneralRe: Winforms Inherited form - Resources Pin
MarkB12327-Aug-20 2:41
MarkB12327-Aug-20 2:41 
AnswerRe: Winforms Inherited form - Resources Pin
OriginalGriff27-Aug-20 2:42
mveOriginalGriff27-Aug-20 2:42 
GeneralRe: Winforms Inherited form - Resources Pin
MarkB12327-Aug-20 2:48
MarkB12327-Aug-20 2:48 
GeneralRe: Winforms Inherited form - Resources Pin
OriginalGriff27-Aug-20 3:04
mveOriginalGriff27-Aug-20 3:04 
GeneralRe: Winforms Inherited form - Resources Pin
MarkB12327-Aug-20 3:53
MarkB12327-Aug-20 3:53 
GeneralRe: Winforms Inherited form - Resources Pin
OriginalGriff27-Aug-20 4:22
mveOriginalGriff27-Aug-20 4:22 
GeneralRe: Winforms Inherited form - Resources Pin
MarkB12327-Aug-20 4:40
MarkB12327-Aug-20 4:40 
AnswerRe: Winforms Inherited form - Resources Pin
Mycroft Holmes27-Aug-20 12:09
professionalMycroft Holmes27-Aug-20 12:09 

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.