Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
Access Discussion of Microsoft Access database design and programming. See also the forums for Access ASP and Access VBA.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Access section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old August 23rd, 2007, 12:34 AM
Registered User
 
Join Date: Aug 2007
Location: , , .
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default Hiding the startup screen

I am using 3 databases to do client side updating.

When a client version starts this program will automatically update the client database from the server. The program works like this.

- start client database
- check for updates
- if there are updates overwrite the client (else start normally)
- close the temp database and open the updated client

My problem is to hide the "check for update" screen when the updated database open by Shell command.

My code looks like this:

strDest = "myDatabase.mdb"
strOpenClient = "MSAccess.exe " & strDest
Shell strOpenClient, vbNormalFocus
DoCmd.Quit

Advanced thanks :)
Mona

 
Old August 23rd, 2007, 05:59 AM
Authorized User
Points: 129, Level: 2
Points: 129, Level: 2 Points: 129, Level: 2 Points: 129, Level: 2
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jul 2007
Location: Gurgaon, Haryana, India.
Posts: 35
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to vksingh24
Default

To hide your database, You can change your code to this

strDest = "myDatabase.mdb"
strOpenClient = "MSAccess.exe " & strDest
Shell strOpenClient, vbHide
DoCmd.Quit



__________________
Vikash Kumar Singh
 
Old August 24th, 2007, 02:11 AM
Registered User
 
Join Date: Aug 2007
Location: , , .
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi vksingh24

Thanks for your reply. I need to hide only the "Startup Form" not the whole DB when I start from the Shell command. If there is a way to find out how the DB is started(i.e is it from the Shell command or by normal start) then it can be done.

-Mona

 
Old September 21st, 2007, 04:39 AM
Authorized User
 
Join Date: Jan 2006
Location: lagos, lagos, Nigeria.
Posts: 38
Thanks: 0
Thanked 0 Times in 0 Posts
Default

the name of the staartupform.open,minimise.





Similar Threads
Thread Thread Starter Forum Replies Last Post
how can clear the screen the screen malli_kv2 BOOK: Beginning Java 2, JDK 5 Edition 4 January 17th, 2009 12:43 AM
initilize on startup poseidonG Apache Tomcat 1 September 25th, 2006 03:54 AM
Draw on the screen without clearing the screen pu132 Visual Basic 2005 Basics 0 August 25th, 2006 09:03 PM
startup options mjuliao Access 4 November 22nd, 2005 04:45 PM
Startup in VBA mrgoodtrips Access VBA 2 July 9th, 2004 09:15 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.