Preventing to close application

R

Robert Lie

Dear All,

Currently, I'm developing an application for pocket pc that will be used
for inventory purpose.
And I want to prevent my users for closing the application accidentally.
So I write the code to key in the password before they really exit from
the application.
But, unfortunately, it does't work.

Here's the code(in VB.NET 2003):

Private Sub frmFeedingScan_Deactivate(ByVal sender As Object, ByVal
e As System.EventArgs) Handles MyBase.Deactivate
InputBox("Passowrd pls?")
End Sub


Pls any advice or suggestion.

Thanks

Robert Lie
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top