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. Resolution Or Screen Area :confused:

Resolution Or Screen Area :confused:

Scheduled Pinned Locked Moved Visual Basic
helpquestion
3 Posts 3 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.
  • S Offline
    S Offline
    syedhassan4
    wrote on last edited by
    #1

    I have very simple question ... I want to know the current resolution or current screen size of system. I mean that Screen is on the 1024x768 OR 800x600 Size. (I hope u can understand my question ... not very good in english) Any help through code, web site or any thing will be appreciated and i will be thankful for that. Thanx in advance ...

    J 1 Reply Last reply
    0
    • S syedhassan4

      I have very simple question ... I want to know the current resolution or current screen size of system. I mean that Screen is on the 1024x768 OR 800x600 Size. (I hope u can understand my question ... not very good in english) Any help through code, web site or any thing will be appreciated and i will be thankful for that. Thanx in advance ...

      J Offline
      J Offline
      Jerome Conus
      wrote on last edited by
      #2

      Hi ! For VB6 : Dim iScreenWidth as integer Dim iScreenHeight as integer iScreenWidth=Screen.Width / Screen.TwipsPerPixelX iScreenHeight=Screen.Height / Screen.TwipsPerPixelY I don't know how to do it with VB.NET. Hope this helps. Jerome

      X 1 Reply Last reply
      0
      • J Jerome Conus

        Hi ! For VB6 : Dim iScreenWidth as integer Dim iScreenHeight as integer iScreenWidth=Screen.Width / Screen.TwipsPerPixelX iScreenHeight=Screen.Height / Screen.TwipsPerPixelY I don't know how to do it with VB.NET. Hope this helps. Jerome

        X Offline
        X Offline
        xBlitzerx
        wrote on last edited by
        #3

        would something like this work in VB.Net? and i was just wondering if anyone knows a site that explains basic graphic style coding like maybe how to make a basic side-scrolling game in VB.Net thanks ______________________________________________ "I'm not me when I dream...anymore." -TRUSTcompany

        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