Making forms full screen........

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Hi All,

I use this subroutine each time I load a form to make it it full-screen. This has always worked 100% of the time, but recently a customer reported that his software was not starting up in full-screen mode. I can't imagine why this would suddenly be happening, or how exactly this subroutine is being fooled? Any thoughts?

Thanks,

John

'
' SizePageToScreen
'
Public Sub SizePageToScreen(pg As Form)
pg.Left = 0
pg.Top = 0
pg.Width = Screen.Width
pg.Height = Screen.Height
End Sub
.



Relevant Pages

  • Re: Is there any way to start (and later quit) an EXE file.
    ... the QuitApp subroutine so that it will terminate any process named "VNC.exe" ... Is there also a way to avoid the first macro trying to load the EXE a ... regain complete control of XP and lose barcode scanner control. ... You can use the Shell function to launch an executable file but you ...
    (microsoft.public.excel.misc)
  • Re: Is there a way to construct a generic "list" by Fortran 95?
    ... Type:: Load ... Fortran 2003, at which point you'll be able to use unlimited ... SUBROUTINE add_Element ... LOGICAL:: successful ...
    (comp.lang.fortran)
  • Re: /proc/profile
    ... based on which kernel subroutine is being executed. ... performance load. ... kernel routines are contributing most to the overall system load. ...
    (comp.os.linux.embedded)
  • Re: How to map a subroutine to a particular address in rom?
    ... Now I want to load this subroutine to ... I suggest looking at the manuals ... A common thing to do on PCs is to have an initialization routine ...
    (comp.lang.c)
  • Err.Raise + Call Stack + UserForm
    ... its way back to the top-most subroutine. ... Public Sub Class_Initialize ... On Error GoTo ErrorHandler ... Dim lErrNum As Long ...
    (microsoft.public.word.vba.general)