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 3232786
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T17:12:06+00:00 2026-05-17T17:12:06+00:00

Previously I used to piddle around with VB6 to develop a couple of personal

  • 0

Previously I used to piddle around with VB6 to develop a couple of personal projects. Following my upgrade to Windows 7, I’ve decided to piddle about with vb.net Express Edition 2010.

If I wanted my VB6 application to blend in with the visual style of Windows, I would use the code and techniques described here. In short, I would use a Manifest file and a couple of calls within the application and most of the elements would look similar to the XP theme applied. If it was run on 2000, 95 or 98 then it would look like a standard Windows app. All was good.

Now I’ve moved onto vb.net, I’ve written a simple “Hello, world” application but I have absolutely no idea on how to make it look like the Windows 7 theme (eg. the font matches the system font and the widgets are styled correctly).

Just changing the font is a hack and will look out of place on machines that are set-up differently or run a different version of Windows where the default font is different.

How do I ensure my application matches the applied Windows theme irrespective of the version of Windows?

  • 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-17T17:12:06+00:00Added an answer on May 17, 2026 at 5:12 pm

    A lot of this is automatic if you create a Windows Forms app. They will (mostly) use the standard native Windows controls which draw themselves with the theme colors. But there are exceptions:

    • the Form item template uses a default Font named Microsoft Sans Serif. You’ll have to change it to Segoe UI to match the Vista/Win7 default. This is only necessary for the Form class, all controls you put on it will automatically inherit that font. On an XP machine, the Windows font mapper will notice that the font is missing and automatically fall back to MSS.

    • the MenuStrip class uses custom rendering to draw the menu items. It tries to match the Windows style when you change the RenderMode property to System but the way it draws doesn’t match the Win7 style. Right-click the toolbox, Choose Items and select MainMenu. That’s a legacy version that does use Windows to draw menus so it produces the proper theme appearance.

    • A very similar problem for ToolStrip. It’s legacy version is ToolBar. This is a hard one to swallow, it doesn’t use a rebar which make the tool bar look flat and ugly.

    There are similar problems in WPF but with the added problem that WPF doesn’t use any of the standard Windows controls. And gets it wrong in subtle places.

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

Sidebar

Related Questions

I'm just thinking about the styling and performance. Previously I used to write something
In my perl code I've previously used the following two styles of writing which
I'm using dialog in my asp.net app, replacing of previously used 'window.showModalDialog' whats why
I've used Artinsoft's VB6 to .NET wizard to convert a VB6 application to C#
I have previously used the following URL to access my tweets and embed them
I'm new at working with StarTeam, having previously used Subversion in projects. In order
I'm trying to set autosave to use a directory in ./emacs.d/autosaves. I previously used
I'm looking into development standards fro JavaScript. I had previously used Doulgas Crockfords Javascript
Previously,I used the window.showModalDialog() function to popup a window: window.showModalDialog(myHtml) In myHtml,there are some
Previously I used IEnumerable<T> type, if I passed collection as parameter of method. But

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.