Click here to Skip to main content
15,893,564 members
Home / Discussions / C#
   

C#

 
AnswerRe: Problem showing a symbol from a custom font Pin
Mc_Topaz6-Sep-20 23:54
Mc_Topaz6-Sep-20 23:54 
GeneralRe: Problem showing a symbol from a custom font Pin
Gerry Schmitz7-Sep-20 7:37
mveGerry Schmitz7-Sep-20 7:37 
GeneralRe: Problem showing a symbol from a custom font Pin
Mc_Topaz7-Sep-20 22:13
Mc_Topaz7-Sep-20 22:13 
AnswerRe: Problem showing a symbol from a custom font Pin
Mc_Topaz7-Sep-20 23:52
Mc_Topaz7-Sep-20 23:52 
QuestionDebug does not stop on errors. Pin
MAW306-Sep-20 15:27
MAW306-Sep-20 15:27 
AnswerRe: Debug does not stop on errors. Pin
Sandeep Mewara6-Sep-20 19:09
mveSandeep Mewara6-Sep-20 19:09 
AnswerRe: Debug does not stop on errors. Pin
OriginalGriff6-Sep-20 20:32
mveOriginalGriff6-Sep-20 20:32 
SuggestionRe: Debug does not stop on errors. Pin
Richard Deeming6-Sep-20 22:38
mveRichard Deeming6-Sep-20 22:38 
GeneralRe: Debug does not stop on errors. Pin
OriginalGriff6-Sep-20 22:51
mveOriginalGriff6-Sep-20 22:51 
QuestionChanging Caption in dt Pin
MAW306-Sep-20 15:22
MAW306-Sep-20 15:22 
AnswerRe: Changing Caption in dt Pin
OriginalGriff6-Sep-20 20:45
mveOriginalGriff6-Sep-20 20:45 
QuestionCan a button in a simple html-document somehow call a (clientside) C# method? Pin
arnold_w5-Sep-20 0:12
arnold_w5-Sep-20 0:12 
AnswerRe: Can a button in a simple html-document somehow call a (clientside) C# method? Pin
OriginalGriff5-Sep-20 0:30
mveOriginalGriff5-Sep-20 0:30 
GeneralRe: Can a button in a simple html-document somehow call a (clientside) C# method? Pin
arnold_w5-Sep-20 0:36
arnold_w5-Sep-20 0:36 
GeneralRe: Can a button in a simple html-document somehow call a (clientside) C# method? Pin
OriginalGriff5-Sep-20 0:54
mveOriginalGriff5-Sep-20 0:54 
AnswerRe: Can a button in a simple html-document somehow call a (clientside) C# method? Pin
Gerry Schmitz5-Sep-20 3:50
mveGerry Schmitz5-Sep-20 3:50 
GeneralRe: Can a button in a simple html-document somehow call a (clientside) C# method? Pin
arnold_w5-Sep-20 4:33
arnold_w5-Sep-20 4:33 
GeneralRe: Can a button in a simple html-document somehow call a (clientside) C# method? Pin
Gerry Schmitz5-Sep-20 4:58
mveGerry Schmitz5-Sep-20 4:58 
AnswerRe: Can a button in a simple html-document somehow call a (clientside) C# method? Pin
Dave Kreskowiak5-Sep-20 5:39
mveDave Kreskowiak5-Sep-20 5:39 
An HTML button cannot directly call a C# method. The button is in one execution environment and the C# code is in another, even if your HTML and C# code are running client-side.

It sounds like you're trying to use an HTML page as an interface for a desktop app. That's a bad idea.

It can work, but there's a steep price. You'd have to host the ASP.NET runtime in your desktop app. This adds a LOT of overhead and complexity to your app, so it's usually not worth it.

If you're going to go through this pain, it's actually easier to just write up the app as an actual website and host in on the internet.

GeneralRe: Can a button in a simple html-document somehow call a (clientside) C# method? Pin
arnold_w5-Sep-20 8:30
arnold_w5-Sep-20 8:30 
GeneralRe: Can a button in a simple html-document somehow call a (clientside) C# method? Pin
Dave Kreskowiak5-Sep-20 9:04
mveDave Kreskowiak5-Sep-20 9:04 
GeneralRe: Can a button in a simple html-document somehow call a (clientside) C# method? Pin
jsc426-Sep-20 11:31
professionaljsc426-Sep-20 11:31 
AnswerRe: Can a button in a simple html-document somehow call a (clientside) C# method? Pin
Luc Pattyn5-Sep-20 9:29
sitebuilderLuc Pattyn5-Sep-20 9:29 
QuestionSimple C# question - Begginer's lesson, please aid. Pin
Member 149309634-Sep-20 13:32
Member 149309634-Sep-20 13:32 
AnswerRe: Simple C# question - Begginer's lesson, please aid. Pin
Mycroft Holmes4-Sep-20 15:19
professionalMycroft Holmes4-Sep-20 15:19 

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.