prashantsvl
Member
- Joined
- Jul 24, 2008
- Messages
- 10
- Programming Experience
- Beginner
Hello experts...
I am trying to find the solution for ... vb.net project..
problem: when i running my project the project having the multiple child form.. i want to not allow to show these form when i press the key
(alt+tab) key..
rest of the option are allow..
i got one code in vb project but this code not working ...
Private Declare Function SystemParametersInfo Lib "user32" Alias "SystemParametersInfoA" (ByVal uAction As Long, ByVal uParam As Long, ByVal lpvParam As Any, ByVal fuWinIni As Long) As Long
Private Sub disablekeys(disable As Boolean)
SystemParametersInfo 97, disable, CStr(1), 0
End Sub
Private Sub disablek_Click()
disablekeys True
End Sub
Private Sub enablek_Click()
disablekeys False
End Sub
so is there any solution......??????????
thanks..
replay... as early as possible..
I am trying to find the solution for ... vb.net project..
problem: when i running my project the project having the multiple child form.. i want to not allow to show these form when i press the key
(alt+tab) key..
rest of the option are allow..
i got one code in vb project but this code not working ...
Private Declare Function SystemParametersInfo Lib "user32" Alias "SystemParametersInfoA" (ByVal uAction As Long, ByVal uParam As Long, ByVal lpvParam As Any, ByVal fuWinIni As Long) As Long
Private Sub disablekeys(disable As Boolean)
SystemParametersInfo 97, disable, CStr(1), 0
End Sub
Private Sub disablek_Click()
disablekeys True
End Sub
Private Sub enablek_Click()
disablekeys False
End Sub
so is there any solution......??????????
thanks..
replay... as early as possible..