Programmatically Changing Font Settings in Application

Posted on 2007-10-13
Last Modified: 2013-11-07
I''ve written a VB.NET windows application  in VS 2005 that contains a web browser control  The issue that I'm experiencing is on some machines that the application runs on, the font settings are set to a very large font causing all text in the browser control to be rendered larger than acceptable.  Since changing the font settings on the machines is not an option, how can I programmatically change the font settings to application specific settings that will permit the pages to render correctly when the application is running and change them back to the machine settings when the application stops?  

Question by:ClaySeifert
    LVL 21

    Expert Comment

    Just a thought. The reason that the font may be set as large is because the users want it that way and would want it that way even of they are going to look at the pages inside a web browser controls isnt it?
    LVL 14

    Accepted Solution

    i have read some articles that you can alert the user (using javascript functions) stating that the font size is set to LARGE but cannot really change the settings...

    Featured Post

    What Is Threat Intelligence?

    Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

    Join & Write a Comment

    Suggested Solutions

    Creating an analog clock UserControl seems fairly straight forward.  It is, after all, essentially just a circle with several lines in it!  Two common approaches for rendering an analog clock typically involve either manually calculating points with…
    Today I had a very interesting conundrum that had to get solved quickly. Needless to say, it wasn't resolved quickly because when we needed it we were very rushed, but as soon as the conference call was over and I took a step back I saw the correct …
    how to add IIS SMTP to handle application/Scanner relays into office 365.
    Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

    746 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    14 Experts available now in Live!

    Get 1:1 Help Now