Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Determining screen information in Visual basic 5.0

Status
Not open for further replies.

WayneStev

Programmer
Jan 3, 2006
21
US
I am developing a program that needs to acquire the screen information, resolution and other information then set the program the same before it runs. I am not sure if VB 5.0 has any way to make this happen. Dose any one have any ideas. Help any one.
 
The "About Dialog" wizard has some API code attached to the system info functionality that may be helpful.

Outside of a dog, a book is man's best friend. Inside of a dog it's too dark to read.
 
DeskTop Resolution Width = Screen.Width/Screen.TwipsPerPixelX

Calculation of Height is similar.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top