INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Jobs

TopMost code and Hide Access Window code not working well together...

TopMost code and Hide Access Window code not working well together...

(OP)

As the title explains, I'm wanting to keep my application on top of all other programs on my desktop and I want to hide the Access Window. I can get either working individually, but can't get them to work together. I've attached the file because explaining what I've done to each form would only confuse you because I suck at explaining things when it comes to programming, plus it's a very lightweight program and very easy to follow when you look at it.

What I want to happen: Open the DB with MS Access Window Hidden, Splash page comes up and you click Ok. Then Slash page closes Menu comes up. From here click the 'Watch Netflix' button. Menu form closes and Netflix Window comes up. To get back to the Menu, double click the Netflix Window.

Back at the menu you can:
  • Change the size of the Netflix viewing window from Small to Large by clicking the 'Change Screen Size' button.
  • Set the size for the Small Viewing Window and Large Viewing Window separately - to allow for monitor size differences
  • And of course, exit the Utility, closing anything that is open
Currently it works great, just without hiding the MS Access Window. I have the code in place to hide the MS Access Window, but it's commented out. If you comment out the TopMost code and uncomment the Hide MS Access Window code, the MS Access Window code works... but when you try to go from the Splash page to the Menu Form, it closes the Splash page, but won't open the Menu Form.

That's why I say they work ok individually, but not together.

I imagine it's an easy fix, and I'm just overlooking something, but I've tried several workarounds (and different code) and can't get it to work.

Appreciate any help with this I can get, and it's not an urgent issue... more of a project I'd like to make better. I currently use it as is... because with the TopMost code working, I can still see the Viewer above whatever I'm working on or if I'm gaming.

SnayJ

RE: TopMost code and Hide Access Window code not working well together...

(OP)
Oh and it does take a few seconds for Netflix to loadup into the browser. I found that if I set the URL to the browser upon the form Loading, it just never worked... but if I added in a timer and gave it 3 seconds... it would load fine. If that can be fixed as well... I'd really love that.

RE: TopMost code and Hide Access Window code not working well together...

(OP)
Any MVP's have any thoughts?

RE: TopMost code and Hide Access Window code not working well together...

You got yer Access goin' in the background, then Netflix loaded up with a good movie and a fav game in the wings, just in case the movie gets dull.

So now the boss walks up and...BINGO! There's yer Access project right on top with a kwik alt-TAB. Clever?

Skip,

glassesJust traded in my OLD subtlety...
for a NUance!tongue

RE: TopMost code and Hide Access Window code not working well together...

(OP)
I work from home, no boss. I should just buy another monitor, but I still want to know how to do this, so I can complete the project.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Resources

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close