[Last Call] Learn how to a build a cloud-first strategyRegister Now

  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 649
  • Last Modified:

Programmatically Changing Font Settings in Application

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?  

1 Solution
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?
Jai STech ArchCommented:
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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now