Results 1 to 4 of 4

Thread: [RESOLVED][02/03] How to tell the screen resolution settings?

  1. #1

    Thread Starter
    Member
    Join Date
    Sep 2005
    Location
    West Chester, PA
    Posts
    42

    [RESOLVED][02/03] How to tell the screen resolution settings?

    Hi.

    I want to make a little popup that fads in at the bottom of the screen similar to what Outlook does for new emails. I can do the fading. I am just looking for a way to tell the screen resolution so I can find the bottom. i figure it's in System.? but I don't know where. Any thoughts?

    Thanks.

    Mike
    Last edited by mndepaul; May 11th, 2006 at 08:47 AM.

  2. #2
    Frenzied Member vbdotnetboy's Avatar
    Join Date
    Jun 2004
    Location
    Lewisburg, PA "Next year Raiders in the Super Bowl"
    Posts
    1,310

    Re: [02/03] How to tell the screen resolution settings?

    System.Windows.Forms.Desktop.PrimaryScreen.WorkingArea.Width
    System.Windows.Forms.Desktop.PrimaryScreen.WorkingArea.Height

    Derek - Using VS 2008 99% of the time and VS 2003 1% of the time

    Please Help Us To Save Ana

    ● Helpful Links: DNR TV | Awesome site for tips | Using ADO.NET to work with Excel | Xml Namespace 2.0 Framework Changes|Ultra High Security Password Generator | Mendhak's ADO.NET Tutorial
    ● Code Bank: Random Password Generator | Generic DbProviderFactory Access
    ● Site Work: Bottle Run Xtreme | Spaids Racing.com

    Company I work for - CSSI

    WHEN POSTING PLEASE INDICATE VERSION

    Please use vbcode tags or code tags when posting code
    [highlight=vb]ALL your code goes here[/highlight] or [code]ALL your code goes here[/code]

    If my post helped you in anyway... please be kind and give me some ratings

  3. #3

    Thread Starter
    Member
    Join Date
    Sep 2005
    Location
    West Chester, PA
    Posts
    42

    Re: [02/03] How to tell the screen resolution settings?

    Thanks!

    It's little different in 2003, but I was able to find it with your help.


    System.Windows.Forms.Screen.PrimaryScreen.WorkingArea.Height

  4. #4
    Frenzied Member vbdotnetboy's Avatar
    Join Date
    Jun 2004
    Location
    Lewisburg, PA "Next year Raiders in the Super Bowl"
    Posts
    1,310

    Re: [RESOLVED][02/03] How to tell the screen resolution settings?

    sorry man i forgot that i forgot to change the desktop to screen. it was a variable. just copied and pasted the code from one of my apps, but at least you got it figured out.

    Derek - Using VS 2008 99% of the time and VS 2003 1% of the time

    Please Help Us To Save Ana

    ● Helpful Links: DNR TV | Awesome site for tips | Using ADO.NET to work with Excel | Xml Namespace 2.0 Framework Changes|Ultra High Security Password Generator | Mendhak's ADO.NET Tutorial
    ● Code Bank: Random Password Generator | Generic DbProviderFactory Access
    ● Site Work: Bottle Run Xtreme | Spaids Racing.com

    Company I work for - CSSI

    WHEN POSTING PLEASE INDICATE VERSION

    Please use vbcode tags or code tags when posting code
    [highlight=vb]ALL your code goes here[/highlight] or [code]ALL your code goes here[/code]

    If my post helped you in anyway... please be kind and give me some ratings

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width