Click here to Skip to main content
15,920,513 members
Home / Discussions / C#
   

C#

 
QuestionAccess winforms application when user right click on a file Pin
Hero201812-Jan-20 1:54
Hero201812-Jan-20 1:54 
AnswerRe: Access winforms application when user right click on a file Pin
OriginalGriff12-Jan-20 2:20
mveOriginalGriff12-Jan-20 2:20 
GeneralRe: Access winforms application when user right click on a file Pin
Hero201812-Jan-20 9:48
Hero201812-Jan-20 9:48 
GeneralRe: Access winforms application when user right click on a file Pin
OriginalGriff12-Jan-20 10:23
mveOriginalGriff12-Jan-20 10:23 
GeneralRe: Access winforms application when user right click on a file Pin
Hero201812-Jan-20 12:22
Hero201812-Jan-20 12:22 
GeneralRe: Access winforms application when user right click on a file Pin
OriginalGriff12-Jan-20 22:07
mveOriginalGriff12-Jan-20 22:07 
QuestionHtmlAgilityPack - How to get the Value from the tag <div> into aspx.cs Pin
Member 1316600710-Jan-20 6:02
Member 1316600710-Jan-20 6:02 
AnswerRe: HtmlAgilityPack - How to get the Value from the tag <div> into aspx.cs Pin
Richard Deeming10-Jan-20 6:10
mveRichard Deeming10-Jan-20 6:10 
This question doesn't make a lot of sense.

You're opening an .aspx page directly from disk. This will return the raw ASP.NET file, not the generated HTML markup.

You're then trying to read the value of an element which is set by Javascript. But the HtmlAgilityPack won't execute the Javascript, so the element won't be initialized.

If you just want the German name of the current day in your label, you can do that directly:
C#
var culture = System.Globalization.CultureInfo.GetCultureInfo("de-DE");
Label2.Text = DateTime.Today.ToString("dddd", culture);
If you want to use the current culture, it's even easier:
C#
Label2.Text = DateTime.Today.ToString("dddd");




"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer

Questionhow to configure LED8 customer pole display? Pin
Member 122427179-Jan-20 22:13
Member 122427179-Jan-20 22:13 
AnswerRe: how to configure LED8 customer pole display? Pin
OriginalGriff9-Jan-20 22:37
mveOriginalGriff9-Jan-20 22:37 
AnswerRe: how to configure LED8 customer pole display? Pin
ZurdoDev10-Jan-20 1:01
professionalZurdoDev10-Jan-20 1:01 
AnswerRe: how to configure LED8 customer pole display? Pin
Dave Kreskowiak10-Jan-20 4:19
mveDave Kreskowiak10-Jan-20 4:19 
AnswerRe: how to configure LED8 customer pole display? Pin
User 1106097910-Jan-20 8:11
User 1106097910-Jan-20 8:11 
QuestionHow can I accomplish this little project of mine. Pin
Mmm-Geralt9-Jan-20 7:37
Mmm-Geralt9-Jan-20 7:37 
AnswerRe: How can I accomplish this little project of mine. Pin
OriginalGriff9-Jan-20 8:06
mveOriginalGriff9-Jan-20 8:06 
GeneralRe: How can I accomplish this little project of mine. Pin
ZurdoDev9-Jan-20 8:51
professionalZurdoDev9-Jan-20 8:51 
GeneralRe: How can I accomplish this little project of mine. Pin
OriginalGriff9-Jan-20 9:33
mveOriginalGriff9-Jan-20 9:33 
AnswerRe: How can I accomplish this little project of mine. Pin
Dave Kreskowiak9-Jan-20 10:19
mveDave Kreskowiak9-Jan-20 10:19 
GeneralRe: How can I accomplish this little project of mine. Pin
OriginalGriff9-Jan-20 10:31
mveOriginalGriff9-Jan-20 10:31 
GeneralRe: How can I accomplish this little project of mine. Pin
Mmm-Geralt20-Jan-20 13:47
Mmm-Geralt20-Jan-20 13:47 
Questionhow to open an application using button in C# Pin
Hernany Bondoc9-Jan-20 5:14
Hernany Bondoc9-Jan-20 5:14 
AnswerRe: how to open an application using button in C# Pin
Richard Deeming9-Jan-20 5:36
mveRichard Deeming9-Jan-20 5:36 
QuestionHow to generate pdf files on C#?? Pin
hgsingla8-Jan-20 5:57
hgsingla8-Jan-20 5:57 
AnswerRe: How to generate pdf files on C#?? Pin
Richard MacCutchan8-Jan-20 6:40
mveRichard MacCutchan8-Jan-20 6:40 
GeneralRe: How to generate pdf files on C#?? Pin
OriginalGriff8-Jan-20 11:22
mveOriginalGriff8-Jan-20 11:22 

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.