Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Visual Basic
  4. vb.net desktop increase display size of app

vb.net desktop increase display size of app

Scheduled Pinned Locked Moved Visual Basic
csharpquestion
6 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    D Offline
    dcof
    wrote on last edited by
    #1

    I have a vb.net 2010 desktop application that I need to make a change to. When the application runs, it runs in some predetermined size. The users are not able to drag the width or length arrows to increase the size of when the application runs on their desktops. They would like to increase the size of the application since they cannot see some of the wording. Thus can you tell me what I can do: 1. Increase the default size of the application when it runs on a users desktop? and/or 2. Allow the user to adjust the size of the application when it is actually executing? Increasing the width and/or length of the application?

    L G 2 Replies Last reply
    0
    • D dcof

      I have a vb.net 2010 desktop application that I need to make a change to. When the application runs, it runs in some predetermined size. The users are not able to drag the width or length arrows to increase the size of when the application runs on their desktops. They would like to increase the size of the application since they cannot see some of the wording. Thus can you tell me what I can do: 1. Increase the default size of the application when it runs on a users desktop? and/or 2. Allow the user to adjust the size of the application when it is actually executing? Increasing the width and/or length of the application?

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      dcof wrote:

      2. Allow the user to adjust the size of the application when it is actually executing? Increasing the width and/or length of the application?

      This would be the social way. If you go for the first option, then some people will complain that the default size is too big. People also have the option to set a different font as default in the system; that would muck up your layout again. What you need is controls that can grow/shrink according to the space they need.

      Bastard Programmer from Hell :suss: If you can't read my code, try converting it here[^][](X-Clacks-Overhead: GNU Terry Pratchett)

      1 Reply Last reply
      0
      • D dcof

        I have a vb.net 2010 desktop application that I need to make a change to. When the application runs, it runs in some predetermined size. The users are not able to drag the width or length arrows to increase the size of when the application runs on their desktops. They would like to increase the size of the application since they cannot see some of the wording. Thus can you tell me what I can do: 1. Increase the default size of the application when it runs on a users desktop? and/or 2. Allow the user to adjust the size of the application when it is actually executing? Increasing the width and/or length of the application?

        G Offline
        G Offline
        Graham Irons
        wrote on last edited by
        #3

        Store the size that the user selects in the Registry Settings for your Software and then Open your App next time, with those size settings that the user has chosen.

        Regards, Graham

        M 1 Reply Last reply
        0
        • G Graham Irons

          Store the size that the user selects in the Registry Settings for your Software and then Open your App next time, with those size settings that the user has chosen.

          Regards, Graham

          M Offline
          M Offline
          Mycroft Holmes
          wrote on last edited by
          #4

          NNnnnnnnooooo don't use the registry, write it to the system folder for user data. the registry is so ... 90s

          Never underestimate the power of human stupidity RAH

          G 1 Reply Last reply
          0
          • M Mycroft Holmes

            NNnnnnnnooooo don't use the registry, write it to the system folder for user data. the registry is so ... 90s

            Never underestimate the power of human stupidity RAH

            G Offline
            G Offline
            Graham Irons
            wrote on last edited by
            #5

            Tell me about the System Folder please. I've only been programming in VB for about 25 years, so I might be missing something.

            Regards, Graham

            M 1 Reply Last reply
            0
            • G Graham Irons

              Tell me about the System Folder please. I've only been programming in VB for about 25 years, so I might be missing something.

              Regards, Graham

              M Offline
              M Offline
              Mycroft Holmes
              wrote on last edited by
              #6

              Graham Irons wrote:

              I've only been programming in VB for about 25 years

              So the 90's were your training ground, I started writing macros in Excel 1 somewhat earlier. There seem to be a plethora of old farts here on CP :laugh: Some places won't let you write to the registry and there is no guarantee someone doesn't want to go fiddle with the settings. User data folder is more specific if required and no more difficult to use than the registry. It is also probably faster.

              Never underestimate the power of human stupidity RAH

              1 Reply Last reply
              0
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • World
              • Users
              • Groups