Main Window

Brutal

Cannis
Local time
Today, 20:00
Joined
May 7, 2002
Messages
25
Howdy
I am so close to finishing my project and am just making good those little anoying bits.
What I would like is when a user double click the database Icon it opens my splashscreen ONLY not the surrounding Access program window, You know the one with file, edit toolbar etc.
can I do this.

Thanks for any input


Paul
 
Set your splash screen as a popup, in the onopen event type

DoCmd.RunCommand acCmdAppMinimize

and on close event

DoCmd.RunCommand acCmdAppMaximize

IMO
 
Also, if you create a logo, save it as a .bmp image file in the same folder as your db and name it the same as your db, it will appear on startup rather than the Access splash screen

IMO
 
Last edited:
Thanks IMO for your input but its not quite what I mean.
Let me try and explain again
Whenever you open access it opens the main window, this window is there whether you just open a database or the access app itself, If you have a splashscreen, menu or whatever, it will be surrounded by the Access application window - I do not want this to appear - Just my splash screen, like it is an application on its own.

Look forward to any response

Paul
 
This is the best I could do. Copy the .bmp into the same folder as the db.

IMO
 

Attachments

Thanks IMO

I tried your sample and yes on the face of things that is what I want so I have copied your code into my form but when I open my Db the window is minimized and everything in it, unlike yours where the time window opens??
Any clues as my vb is nonexitent

Thanks

Paul
 
Make sure your form is a pop up form and it opens as the db opens (Tools >>> Startup >>> DisplayForm/Page select your form) You can select PopUp = Yes from the forms properties.

Let me know how you get on

IMO
 
Thanks IMO UR Tops
It was just the pop up bit I missed.
I have set all my forms on pop and it seems o be working great, I will keep it like that unless you can advise m otherwise.

Many thanks again

Paul
 
I nearly always have my forms as Popups, I think it looks neater.

Glad you got it working

IMO
 
Found a "bug"

IMO said:
Set your splash screen as a popup, in the onopen event type

DoCmd.RunCommand acCmdAppMinimize

and on close event

DoCmd.RunCommand acCmdAppMaximize

IMO

Hi IMO!

I’ve tried this method and it seems working fine, but in one of my forms I use
DoCmd.Echo False
and it doesn’t work anymore… it sounds like Echo is always True.
Any ideas why?

Thank you.
 
Mmmm, Sorry, not sure on that one. The only way I can think of round it would be to put the Echo False in the OnLoad event of the form and Echo True in the OnClose event.

IMO
 
Last edited:

Users who are viewing this thread

Back
Top Bottom