troubleshooting Question

How to get the Access Mask resized using (Left / Top) Using the VBA

Avatar of Maurizio Aghileira
Maurizio Aghileira asked on
MicrosoftMicrosoft OfficeMicrosoft AccessVBA
5 Comments1 Solution49 ViewsLast Modified:
Hello everyone, my name is Maurizio and I am a new member.
My problem is this:
Assuming you have an open Access form with Microsoft Office 2007

I would like to be able to obtain using the vba a sort of Video Centrality of this mask Let me explain better:

When I open the Access application it brings me to the foreground a Mask called (Mask_Password) and so far everything is ok.

The problem is that it occurs not in the center of the screen.

Therefore, as I remember, when I used vb6 it was enough for me to put the call of any object inside a module to center its position inside its form (Form)
 ; Using the code "Left = x Top = Y) of the desired object and the game was done.

But now I would like to make the same thing happen with the Mascera; But don't I have the slightest idea of ​​how to communicate to access all this by always using vba?
I thank all those who want to give me a hand on this.
Greetings from Maurizio
Software Developer

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 5 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 5 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros