Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
Getting Full Screen (VB6)
Name: FROsTByTE Date: December 10, 2002 at 09:47:22 Pacific OS: Lunix/XPPro/ME CPU/Ram: P4-3.0x2(6GBRam)
Comment:
Yo ! ...can someone please temme ...how to put get my program run full screen in Vb6....like game
Name: David I Date: December 10, 2002 at 11:10:45 Pacific
Reply:
Just set the form's windowstate property to 2 (maximized).
0
Response Number 2
Name: Me Date: December 10, 2002 at 12:53:27 Pacific
Reply:
Yo! i can.
Set the windows property to no border (0) and set the windowsstate (as david I told) to 2 (maximized) then you have your game style app
Good Luck!
0
Response Number 3
Name: DaBrothaGrim Date: December 10, 2002 at 18:34:31 Pacific
Reply:
i do it like this... add the Microsoft Sysinfo control 6.0 component to your project then place it on your form then add this code to your form load event. Form1.Width = SysInfo1.WorkAreaWidth Form1.Left = SysInfo1.WorkAreaLeft Form1.Height = SysInfo1.WorkAreaHeight that will fill the screen at any resolution then if you change resolutions while the app is still running just add the code to the display changed event or better yet write a sub and just call it at load up and in the display changed event... easy as cake don't you think like this:
Private Sub SysInfo1_DisplayChanged() MyDisplay End Sub
Private Sub Form_Load() MyDisplay End Sub
Public Sub MyDisplay() Form1.Height = SysInfo1.WorkAreaHeight Form1.Width = SysInfo1.WorkAreaWidth Form1.Top = SysInfo1.WorkAreaTop Form1.Left = SysInfo1.WorkAreaLeft End Sub
by the way this is code and it will work all the time regardless of current resolution or if you change resolutions while your application is running (i think i just repeated myself):) have fun!
0
Response Number 4
Name: FROsTByTE Date: December 10, 2002 at 20:47:55 Pacific
Summary: I am webmaster of my son's school website and have been requested to make a link to a particular site with reference to a school trip they have made, however when we click this link it takes us out of...
Summary: hi, was wondering if it were possible to set a bat file to load (full screen) when the user clicks the icon to load the app to run. Is there some code or third party way to do this or can I do it in...
Summary: Can anyone suggest a good simple way a DOS program (Assembly) can detect under Windows if it is being ran in a Window or in a full screen session. (Without having to ask the user.) And is there a good...