Sunday, August 15, 2010

Writing a program and having resolution problems because of different computers using the program?

I am writing a program in visual basic and I was wondering if there is code that I could use so that the forms can automatically adjust to accommodate computers with different screen resolutions or must I make the program to accommodate a standard size resolution say 800X600?



Writing a program and having resolution problems because of different computers using the program?virus removal



Check this tutorial out.



http://pscode.com/vb/scripts/ShowCode.as...



Writing a program and having resolution problems because of different computers using the program?anti virus protection



It depends exactly what you are doing. I'm not too hot on VB stuff. I know how the Windows API does this kind of thing and I guess VB will be similar.



If you're working with controls in dialog boxes then these are layed out in DLU's (Dialog box Logical Units). The size of a DLU depends on the size of the system font. So if someone has Windows setup with a larger font, all the dialog boxes and their controls are bigger (you can check this yourself).



If you talking about the drawing stuff inside a window then you should look at mapping modes. Normally a window is mapped in text mode (where 1 pixel is one unit). You can set other modes such as Isotropic where you specify how many units there are in the window.



In this mode graphics scale to whatever size the window is. However it dosen't necessarily change the size of a font. You might have to do that yourself.



  • special beauty salons
  • natural remedies for pimple
  • No comments:

    Post a Comment