Tuesday, November 16, 2010

How to make a resolution dependent project in vb.net?

I am developing a project in vb.net. the program runs good in my system. when i install the project in some other system some of the form object not display. Its away from the screen. How to make the project to be run in all the system? Means - Resolution dependentHow to make a resolution dependent project in vb.net?
use this code to get the screen coordinates



Dim iWidth as integer, iHeight as Integer



iWidth = Screen.Width \ Screen.TwipsPerPixelX

iHeight = Screen.Height \ Screen.TwipsPerPixelY



Then fix the outer container width and height to screen coordiantes.Make sure that you use relative sizes instead of absolute sizes.
  • family cell phone plan
  • No comments:

    Post a Comment