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. Form.WindowState

Form.WindowState

Scheduled Pinned Locked Moved Visual Basic
csharpdatabasevisual-studiohelp
3 Posts 2 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.
  • Q Offline
    Q Offline
    QC_2000
    wrote on last edited by
    #1

    Hi, I've written a VB.NET application that's a front-end interface for an Access database. The application works fine except for one small anomaly. The first form that loads up is a small login dialog box (username, password, OK, etc.). It's WindowState is set to 'Normal' and it's StartupLocation is set to 'CenterScreen'. After installing the application and logging in for the first time nothing unexpected happens. But with all subsequent log-ins the login dialog box is maximized over the whole screen (including the taskbar). This does not happen when debugging the application in the IDE. It only happens when the application is installed. Can anyone help? Thanks in advance. QC

    D 1 Reply Last reply
    0
    • Q QC_2000

      Hi, I've written a VB.NET application that's a front-end interface for an Access database. The application works fine except for one small anomaly. The first form that loads up is a small login dialog box (username, password, OK, etc.). It's WindowState is set to 'Normal' and it's StartupLocation is set to 'CenterScreen'. After installing the application and logging in for the first time nothing unexpected happens. But with all subsequent log-ins the login dialog box is maximized over the whole screen (including the taskbar). This does not happen when debugging the application in the IDE. It only happens when the application is installed. Can anyone help? Thanks in advance. QC

      D Offline
      D Offline
      Divya Rathi
      wrote on last edited by
      #2

      specify the dimensions / coordiantes of the login window Divya Rathi

      Q 1 Reply Last reply
      0
      • D Divya Rathi

        specify the dimensions / coordiantes of the login window Divya Rathi

        Q Offline
        Q Offline
        QC_2000
        wrote on last edited by
        #3

        Hi Divya, thanks for replying. Form.Width = 256 Form.Height = 134 Form.Left = 0 Form.Top = 0 Form.StartPosition = CenterScreen Form.WindowState = Normal Form.TopMost = False Thanks. QC

        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