|
-
Jun 22nd, 2005, 10:06 PM
#1
Thread Starter
Fanatic Member
password protect item in systray?[Resolved]
I am trying to find or come up with some to code password protect item in systray.
Any ideas or suggestions?
Anyone have or can come up with such a code?
Thanx in advance!
Last edited by planethax; Jun 23rd, 2005 at 12:06 AM.
-
Jun 22nd, 2005, 10:09 PM
#2
Re: password protect item in systray?
Will it be your app? You could try to ask a password if your app is being maximized from the SysTray...
-
Jun 22nd, 2005, 10:11 PM
#3
Thread Starter
Fanatic Member
Re: password protect item in systray?
yes it will be my app, Its a firewall/port blocking app.
I need to block msn on all the pc's at work
-
Jun 22nd, 2005, 10:16 PM
#4
Re: password protect item in systray?
Then try my suggestion... What is your means of showing your app from the systray? Doubli click, single click, right click or what? And in what ways do you want to protect it?
-
Jun 22nd, 2005, 11:01 PM
#5
Thread Starter
Fanatic Member
Re: password protect item in systray?
VB Code:
Private Sub SysTray_MouseDblClick(Button As Integer, Id As Long)
mdlFirewall.Execute True
frmMain.Show
End Sub
the app starts in systray, this is the code used to show the main frm,
but I want the user to have to input a password before it shows?
-
Jun 22nd, 2005, 11:14 PM
#6
Re: password protect item in systray?
You could use an algorithm like this...
VB Code:
Private Sub SysTray_MouseDblClick(Button As Integer, Id As Long)
Dim Password As String
Password = InputBox("Input your password", "Password")
If Password = "True" Then
mdlFirewall.Execute True
frmMain.Show
End If
End Sub
-
Jun 22nd, 2005, 11:29 PM
#7
Thread Starter
Fanatic Member
Re: password protect item in systray?
 Originally Posted by dee-u
You could use an algorithm like this...
VB Code:
Private Sub SysTray_MouseDblClick(Button As Integer, Id As Long)
Dim Password As String
Password = InputBox("Input your password", "Password")
If Password = "True" Then
mdlFirewall.Execute True
frmMain.Show
End If
End Sub
I am typing the password "true" in but nothing happens?
I am so lost with this thing lol
-
Jun 22nd, 2005, 11:42 PM
#8
Re: password protect item in systray?
It's case sensitive, "True".
-
Jun 23rd, 2005, 12:05 AM
#9
Thread Starter
Fanatic Member
Re: password protect item in systray?
 Originally Posted by dglienna
It's case sensitive, "True".
DOOOH!! thank you both
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|