Colin, (or anyone else that is familiar with this)
I am trying to use your code in teh SetAccessWindow database sample found here: https://www.access-programmers.co.uk/forums/showthread.php?t=293584 to only leave up my main form (frm_main). I do not need command buttons to make this happen... I just wanted it to work straight away.
In the code for frm_home I added this at the top:
	
	
	
		
I added this to the Form_Open:
	
	
	
		
and this to the Form_Load:
	
	
	
		
Of course I imported all of the modules but I didn't add any click event code anywhere.
when I open my database... the access window is still open... I am sure I am doing something wrong.
Any ideas what I am missing?
 I am trying to use your code in teh SetAccessWindow database sample found here: https://www.access-programmers.co.uk/forums/showthread.php?t=293584 to only leave up my main form (frm_main). I do not need command buttons to make this happen... I just wanted it to work straight away.
In the code for frm_home I added this at the top:
		Code:
	
	
	Option Compare Database
Option Explicit
Dim blnShowWindow As Boolean
Dim blnShowRibbon As Boolean
Dim blnShowNavPane As Boolean
Dim FEVersion As Variant
	I added this to the Form_Open:
		Code:
	
	
	HideRibbon
HideNavigationPane
ReSizeForm Me
	and this to the Form_Load:
		Code:
	
	
	SetAccessWindow (SW_SHOWMINIMIZED)
	Of course I imported all of the modules but I didn't add any click event code anywhere.
when I open my database... the access window is still open... I am sure I am doing something wrong.
Any ideas what I am missing?