Mark A Matte
markamatte at hotmail.com
Fri Jan 2 10:18:35 CST 2004
Hello All, I see this thread is still alive. My impression was that he wanted to hide the application window...but some of the suggestions seem to be towards the splash screen. I sent a sample DB that Drew Wutka created to Paul offline. I'm not sure if he received it...but it uses the function below to hide the application window. Hope it helps!!! Mark A. Matte Public Function fAccessWindow(Optional Procedure As String, Optional SwitchStatus As Boolean, Optional StatusCheck As Boolean) As Boolean If Procedure = "Hide" Then dwReturn = ShowWindow(Application.hWndAccessApp, SW_HIDE) End If If Procedure = "Show" Then dwReturn = ShowWindow(Application.hWndAccessApp, SW_SHOWMAXIMIZED) End If If Procedure = "Minimize" Then dwReturn = ShowWindow(Application.hWndAccessApp, SW_SHOWMINIMIZED) End If If SwitchStatus = True Then If IsWindowVisible(hWndAccessApp) = 1 Then dwReturn = ShowWindow(Application.hWndAccessApp, SW_HIDE) Else dwReturn = ShowWindow(Application.hWndAccessApp, SW_SHOWMAXIMIZED) End If End If If StatusCheck = True Then If IsWindowVisible(hWndAccessApp) = 0 Then fAccessWindow = False End If If IsWindowVisible(hWndAccessApp) = 1 Then fAccessWindow = True End If End If End Function >From: "MastercafeCTV" <mastercafe at ctv.es> >Reply-To: Access Developers discussion and problem >solving<accessd at databaseadvisors.com> >To: "'Access Developers discussion and problem >solving'"<accessd at databaseadvisors.com> >Subject: RE: AW: [AccessD] Hiding Main Access Window >Date: Thu, 1 Jan 2004 20:29:40 +0100 > >Efectivelly we take a BMP file with same name that application (mdb/mde) >and >in the same directory that this and supply the main Access warning for our >logo. > >Thanks Arthur great information. > >Juan Menendez > > >=========================================== >MASTERCAFE SL - NIF B-82.617.614 >www.mastercafe.com >Deleg. Asturias >Tel 985.88.49.44 / 627.531.764 >Fax 627.500.205 >info at mastercafe.com >juan at mastercafe.com >Deleg. Madrid >Tel 627.474.285 >cecilia at mastercafe.com >=========================================== > > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller >Sent: jueves, 01 de enero de 2004 11:06 >To: 'Access Developers discussion and problem solving' >Subject: RE: AW: [AccessD] Hiding Main Access Window > > >One way to do this is to create an image file having the same name as your >application MDB but with a different extension and place it in the same >directory as the MDB. Access will load this image instead of its native >logo. I have never tried to create a one-pixel image file but I'm guessing >that it would work too. > >Arthur > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of >paul.hartland at fsmail.net >Sent: Wednesday, December 31, 2003 1:45 AM >To: Access Developers discussion and problem solving >Subject: Re: AW: [AccessD] Hiding Main Access Window > > >Sorry but I dont think I have explained correctly, when you first open >Access thats the screen I want to hide I know I can hide database windows >etc from Tools/StartUp. Lets say we go to START/PROGRAMS and click on >Microsoft Access and you get the blank access screen from which you can >creat a new database, open existing etc. Thats the screen I want to hide, >the actual Access screen. > >Sorry for any confusion. > >Paul Hartland > > > > > > >Message date : Dec 31 2003, 09:39 AM > >From : Helmut Kotsch >To : Access Developers discussion and problem solving >Copy to : >Subject : AW: [AccessD] Hiding Main Access Window >Paul, >that's easy, even I can answer this one. >Tools => Start..=> uncheck the "Show Database Window" Checkbox. I took this >info from my installed German version of Access 2000, hope I translated the >fieldnames alright. > >Regards and have a nice day. > >Helmut Kotsch > > >-----Ursprüngliche Nachricht----- >Von: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com]Im Auftrag von >paul.hartland at fsmail.net >Gesendet: Mittwoch, 31. Dezember 2003 10:17 >An: accessd >Betreff: [AccessD] Hiding Main Access Window > > >To all, > >Im sure I have seen this somewhere but cant for the life of me remember >where, I have an Access 2000 application that a few people have a shortcut >to on their machines, which when opened opens the main Access window (as >usual) and a switchboard. Is there anyway I can hide the main Access window >so that the application looks similar to a Visual Basic application ? > >Thanks in advance for all your help. > >Paul Hartland >Freeserve AnyTime - HALF PRICE for the first 3 months - Save £7.50 a month >www.freeserve.com/anytime _______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com >Freeserve AnyTime - HALF PRICE for the first 3 months - Save £7.50 a month >www.freeserve.com/anytime _______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ Take advantage of our limited-time introductory offer for dial-up Internet access. http://join.msn.com/?page=dept/dialup