Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 365461
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T13:32:21+00:00 2026-05-12T13:32:21+00:00

I have a simple little application that performs some analysis of all our corporate

  • 0

I have a simple little application that performs some analysis of all our corporate clients, and generates a score for each one based on their activities (think “traffic light” happiness system).

The generated score gets its information from a variety of metrics, and spits out what can appear to be an arbitrary magic number.

I want to present the algorithm results in an easily-consumed way.

At the moment, I’m using a simple HTML document displayed in a web browser control, generated by the algorithm for each record.

For example, the output looks like this:

A meeting gives 20 points.      Have 1 meeting.      20 points.
Each phonecall gives 5 points.  Have 5 phone calls.  25 points.
Each purchase gives 10 points.  Have 2 purchases.    20 points.

(in reality, there are some subtle highlights of colour on the keywords too)

Is an embedded web browser control, populated by generated HTML, really the best way of achieving this sort of thing? It seems a bit wrong.

Currently using winforms, but as it’s a new, internal and simple app, can switch to WPF if more suitable.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-12T13:32:22+00:00Added an answer on May 12, 2026 at 1:32 pm

    If you’re not using WPF, then the answer is yes. That’s about the best way of doing that, especially because of formatting.

    WPF would be a much better idea though, so if you can, move on over. XAML is your friend.


    EDIT:

    Righto, so if this were a WPF application, you could use for instance, a Grid to give yourself the right column and row formatting you need. Then, from this point you could add a Label, or TextBox (Less formatting ability with the latter) and extend the controls ControlTemplate, or simply add a Style according to what you need.

    Now if you wanted to do something like conditional formatting on the values that are received, you can do so with the use of a DataTemplate with DataTrigger‘s to show a style, dependent on the data.

    Basically, WPF will give you much more flexibility, robustness and learning goodness, rather than using a WebBrowser control with some good ol’ HTML.

    PS: You can also template the DataGrid control and stylize it to suit your needs, or even dynamically load ResourceDictionary‘s for multiple display types. WPF is very flexible.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am writing a little application that performs some simple actions on some specific
I have a little proof-of-concept distributed transaction application that is doing a simple insert
I have a simple little code fragment that is frustrating me: HashSet<long> groupUIDs =
I have a simple little osx app that just starts up an IKPictureTaker and
I have an application that is looking through some files for old data. In
I have a simple C# 2008 application which displays a png-picture and handles some
Right now, I have a simple web application that displays the entries of a
I have a simple little email app that allows a user to pick certain
I have a pretty simple WPF application that is used to format inputs into
I am writing a simple little DSL for specifying constraints on messages, and Have

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.