LogIn hidden

Uporni

New member
Local time
Today, 22:23
Joined
Mar 8, 2025
Messages
6
"Hello everyone, I'm new to this and I would like to do one thing. What I would like to achieve. When I start the program, the login form should be hidden but also active even though it is hidden and the focus should always be on txtpassword plju. The reason is, logging in would be done with NFC cards so that when the user swipes the card to open the main form for issuing invoices and when they log out, the login form should be hidden and ready for further logging in. When I touch the screen, the login form should appear and there should be that option. This is an attachment but I haven't been able to get that effect so if anyone is willing and interested in this principle of logging, let's make it happen. Thank you all.." password login , 1234
 

Attachments

I do not beleive you can set focus to a control in a hidden form?
Why not just make it read only and use the NFC input?
 
I'm not really familiar with how to set it up...
 
Hi. Welcome to AWF!

Instead of hiding the form, maybe you could try resizing it to a very small size that's it's nearly invisible. Check out the MoveSize method.
 
I'm not really familiar with how to set it up...
Presumebaly the NFC card acts a little like scanner input.
Something I have never used either.
 
When I start the program, the login form should be hidden but also active even though it is hidden and the focus should always be on txtpassword plju.
Could you further explain why you would ever want a logon form to not be visible before a user swipes their card or otherwise logs on? This doesn't make sense to me. Making the login form not visible AFTER logon is very common, but what your asking doesn't even remotely make any practical sense to me. It would be like navigating to a website that had nothing visible on it until you clicked your mouse on it. Why on earth would you want that behavior? Much better to simply have the logon form visible all the time until someone logs on.

A form can be minimized, but in that case, how is a user supposed to interact with something they cannot see or touch? Very unintuitive. But what theDBguy suggested (manipulate the form size) sounds like the only possible way to make a form active and virtually hidden at the same time. Still don't understand the desire for that.

If you are saying that you have a touch screen monitor and need to activate a form based on touch or card swipe, That's going into uncharted waters. I suppose you could use a giant transparent button on yet another form that has as its only purpose to respond to touch, activating the login form.
 
I know it doesn't make sense, but it's simply the customer's wish that the default image of their restaurant is always on the screen without anything. I solved it successfully with the MoveSize option and now it works great with the NFC reader and cards without the LogIn form appearing. I also added that when I touch the screen if I need to manually enter a password, the LogIn form appears. Thanks everyone..
 
I know it doesn't make sense, but it's simply the customer's wish that the default image of their restaurant is always on the screen without anything. I solved it successfully with the MoveSize option and now it works great with the NFC reader and cards without the LogIn form appearing. I also added that when I touch the screen if I need to manually enter a password, the LogIn form appears. Thanks everyone..
Hi. Glad to hear you got it sorted out. Good luck with your project.
 
I know it doesn't make sense, but it's simply the customer's wish that the default image of their restaurant is always on the screen without anything. I solved it successfully with the MoveSize option and now it works great with the NFC reader and cards without the LogIn form appearing. I also added that when I touch the screen if I need to manually enter a password, the LogIn form appears. Thanks everyone..
I see, the customer is always right. That is very understandable and we're glad you got it working. Do you mind explaining further how you handled the touch screen portion of this? Touching the screen normally would not do anything at all unless you were triggering an event on an actual form. Maybe I'm missing something.
 
If the UFC card logs you into a Windows account (rather than just Access), you would be able to ask Windows who is logged in to the terminal and use that ID for authentication. There would NEVER be a time when you needed a login form UNLESS you allowed a password-based login. I used something like that with the U. S Navy Enterprise Data Center in New Orleans (with the blessing of some VERY picky I.T. types).

This of course presumes that your NFC card interacts with the Windows terminal like a secured login.
 
Vidim, kupac je uvijek u pravu. To je vrlo razumljivo i drago nam je da vam je uspjelo. Možete li dodatno objasniti kako ste se pozabavili dijelom ovoga koji se odnosi na zaslon osjetljiv na dodir? Dodirivanje zaslona inače ne bi učinilo ništa osim ako ne pokrećete događaj na stvarnom obrascu. Možda nešto propuštam.
I simply added the code to the form in the when clicking settings to return the LogIn form to its initial size and to reduce it again after 10 seconds if there is no activity. I added this in case the nfc reader stops working so that you can also log in via the keyboard. I still have to solve so that after minimizing, when it returns to full view, the focus should be on the LogIn form. For some reason it doesn't work for me now.

With Me. LoginForm
.Width = 3980 ' Set the width to the normal value
.Height = 5800 ' Set height to normal value
End With

' Set the timer to 10 seconds (10,000 milliseconds)
Me.TimerInterval = 10000
 
You can't set focus to a form, only a Control on a form, (Unless the form has no controls, which would be unusual)
 
I simply added the code to the form in the when clicking settings to return the LogIn form to its initial size and to reduce it again after 10 seconds if there is no activity. I added this in case the nfc reader stops working so that you can also log in via the keyboard. I still have to solve so that after minimizing, when it returns to full view, the focus should be on the LogIn form. For some reason it doesn't work for me now.

With Me. LoginForm
.Width = 3980 ' Set the width to the normal value
.Height = 5800 ' Set height to normal value
End With

' Set the timer to 10 seconds (10,000 milliseconds)
Me.TimerInterval = 10000
If anyone has an example of how this is possible, I would be interested in seeing how touching the screen of a monitor that has its form and controls set to a size so small that you cannot see it. This still doesn't make sense. How do you click anything on the form when it is not visible on the screen?

I was very surprised when you said you got the touch screen part of this working to enlarge the logon form. If the click event is in the logon form and form is not visible or size is reduced so much that you cannot see it, how can you click on it?
 
When logging in, it works via the NFC reader and card and there's no need to touch it, you only touch it if you want to manually enter the code. If you want to see how it works in practice, I'll send you an example.
 
When logging in, it works via the NFC reader and card and there's no need to touch it, you only touch it if you want to manually enter the code. If you want to see how it works in practice, I'll send you an example.
OK, so your not touching the screen unless the NFC card reader fails to login, but the logon form is now visible to touch if desired. That would have been nice to know in your very first post.

When I touch the screen, the login form should appear and there should be that option.
This is from your very first post and where all of the confusion started. We now know that the customers logo is normally displayed in full screen and no logon menu is visible until the NFC reader is swiped. This does two things. It logs the user in if successful, and also displays the logon menu for 10 seconds incase they need to further logon manually via touch screen (failed swipe).
 
OK, so your not touching the screen unless the NFC card reader fails to login, but the logon form is now visible to touch if desired. That would have been nice to know in your very first post.


This is from your very first post and where all of the confusion started. We now know that the customers logo is normally displayed in full screen and no logon menu is visible until the NFC reader is swiped. This does two things. It logs the user in if successful, and also displays the logon menu for 10 seconds incase they need to further logon manually via touch screen (failed swipe).
yes exactly, maybe I explained it a little clumsily and quickly, but as you said, that's exactly the scenario for logging in. I apologize for the poor explanation
 
yes exactly, maybe I explained it a little clumsily and quickly, but as you said, that's exactly the scenario for logging in. I apologize for the poor explanation
No problem at all. So glad to see you were able to provide such a solution for you client.
 

Users who are viewing this thread

Back
Top Bottom