none
Visual Styles

    Question

  • My app still does:

            Application.EnableVisualStyles() 

    I don't expect it to run on anything prior to Windows 10.

    Should I remove that statement?

    Also in many files I see:

    ... ControlListBox\My Project\Application.myapp(6): 

                 <EnableVisualStyles>true</EnableVisualStyles>

    Should I remove those?

    I found many post with the same subject but they were all 5-10 years old.

    Wednesday, March 15, 2017 2:23 PM

Answers

  • You can remove EnableVisualStyles in this case.


    Please remember to mark the replies as answers if they help and unmark them if they provide no help, this will help others who are looking for solutions to the same or similar problem. Contact via my Twitter (Karen Payne) or Facebook (Karen Payne) via my MSDN profile but will not answer coding question on either.
    VB Forums - moderator
    profile for Karen Payne on Stack Exchange, a network of free, community-driven Q&A sites

    • Marked as answer by scholarQ Wednesday, March 22, 2017 4:52 PM
    Wednesday, March 15, 2017 4:36 PM
    Moderator

All replies

  • You can remove EnableVisualStyles in this case.


    Please remember to mark the replies as answers if they help and unmark them if they provide no help, this will help others who are looking for solutions to the same or similar problem. Contact via my Twitter (Karen Payne) or Facebook (Karen Payne) via my MSDN profile but will not answer coding question on either.
    VB Forums - moderator
    profile for Karen Payne on Stack Exchange, a network of free, community-driven Q&A sites

    • Marked as answer by scholarQ Wednesday, March 22, 2017 4:52 PM
    Wednesday, March 15, 2017 4:36 PM
    Moderator
  • Is that because windows 10 no longer uses EnableVisualStyles at all?

    Just from my code or also from the studio created files::

    ...Application.myapp

    Thanks

    Wednesday, March 15, 2017 5:03 PM