Windows Form Cannot Lock?
Jun 21, 2008after i set the windows form lock to yes and press f5 fordebug mode , i can still drag the form around the screen
View 5 Repliesafter i set the windows form lock to yes and press f5 fordebug mode , i can still drag the form around the screen
View 5 Repliesi have tried sendkeys but it locks my computer
View 2 Repliesi'm trying to Handle the Micosoft.Win32.SessionSwitch Event, so when Windows is going to be locked by the user, i will simply write a line to the console.When it's going to be unlocked, the same.
Here's the code:
Sub Main()
AddHandler Microsoft.Win32.SystemEvents.SessionSwitch,
_ SystemEvents_Sessionswitch()
Console.ReadLine()
[code]....
Is it possible to lock the screen from your app in wp7?
View 1 RepliesHow could i re create the slide transition in the windows 8 lock screen. I want my form1 to quickly slide up while revealing form2(Both forms are borderless and in maximized state) (like when the lock screen slides up while revealing the logon screen in windows 8)
View 2 RepliesI want to show "the caps lock is on balloon" warning message like Windows in login form in passward text box. but I have no idea using window's api function. but i tried using tooltip but it can't work like window. I am working on Visual Studio 2010.
View 3 RepliesI don't have any idea if it is possible and how can I code it.I have created an application that needs to run on a non-administrator account on windows 7. It won't run if the PC goes sleep/ locked/ hybernate/ on-screensaver. So, I want to disable them programmatically using vb.net 2010. Can any one help me?
By the way, I already tried to edit the power settings of the PC so it will never sleep/ hybernate, etc. But unfortunately, it keeps on sleeping after few hours.
Basically,I had a button in my form1,when I click it,then form2 will be display...Now I would like to lock form2 until a button in form2 had been clicked,then only I can do anything in other forms...I means form2 must be closed before I can remain to form1.
View 1 RepliesI have my main form then a progress bar form that is shown when the program is running. I simply want to keep the progress bar form on top of the other form and make the other form so it can't be changed.
I've tried form2.showdialog, but that stops the code in the main form from running so it's no good.
form2.show(me) just keeps form2 ontop of form1
me.topmost in form2 does the same as the last thing
setting the form1.enabled = false isn't something I want to do since you can't even move the form when it's like that
So really I'm at a complete loss here
also how can I get the progress to start in the center of form1? There is a setting in the form properties but is doesn't seem to work.
how to lock or suspend the form when i call another form and until that is finished this form should be locked.example: i got frmAddEditClient form and frmViewClients as another form, now i got list of clients in frmViewClients and i will select a client i would like to edit the client profile ( for which fuction is defined in frmAddEditClients) so on click of btnEdit in frmViewClients form i place code to [code]now i got everything working fine but i shud make the frmViewClient form to lock so that untill edit operation is done user should not change anything i.e is not selecting other ClientID. in the frmViewClient form.Once edit is done frmViewClient is unlocked and then clientId is refreshed.
View 1 Replieshow to lock keyboard in form have controls?
View 1 Replies recently I've been searching for a way to disable the screen background and give focus only to my loaded form
for example
my form loads a "enter password" box, and I would like the screen to lock not sure how to describe actually, but I can show you a example of how UAC does it
My software has a main form with two panels. One panel (pnlToolbar) has the navigation controls. The second panel (pnlSubForm) holds the sub-form as selected by the user from the navigation controls. There is a sub-sub-form which is called using the following code
[Code]....
I want to lock my form to be full screen, and not allow the user to move it. For the form, I set
[Code]...
The form is full screen, but I can shift the location. I do have a dual screen system. The application goes full screen on the left most screen. This does this inside the development environment and using the EXE. What am I missing? I thought Locked is suppose to prevent the form from moving.
How can I toggle capslock? Visual basic 2005. Windows XP. I'd like to capslock on when the form load. This code doesn't work:
Public Class Form1
Private Declare Sub keybd_event Lib "user32" (ByVal bVk As Byte, ByVal bScan As Byte, ByVal dwFlags As Long, ByVal dwExtraInfo As Long)
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Call keybd_event(System.Windows.Forms.Keys.CapsLock, &H14, 1, 0)
Call keybd_event(System.Windows.Forms.Keys.CapsLock, &H14, 3, 0)
End Sub
End ClassThe error is: PinvokeStackImbalance was detected.
I have a Dialog which I'm calling via Loading.Show()Can I lock the position and location to the parent form? In such a way so if the parent is minimised or moved, the child will stay centred to the parent?
I was using ShowDialog() but this obviously stops the parent from being accessible. This is being used to display a progress gif. (Child is 50% opacity)
1. I have a program and I want it, when it's lunched it comes at the center (I done that already) now what I want is to lock it at the center and could not be move all around the screen.
2. The other thing is that in my program I have a Webbrowser and the images are not showing at all. To make the picture visible I have to right click the image and click SHOW IMAGE. Till yesterday the image was showing.
How do you lock the size of a form so the user can't resize it?
View 3 Repliesi try to make an application that can communicate with the door magnetic device. So, when the visitor come to my house, i can control the door OPEN or LOCK using my PC. I;ve created a window form using VB.NET with button "OPEN" and "LOCK". Can anyone provide me some advise how to do this, or with some source code together found in other website?
View 3 RepliesCan i automatically turn on or activate the CAPS Lock key when the form loads?
View 3 RepliesI had created a windows forms application in vb.net. It contained several windows. Now the users of that application are telling me to display all in one main form. They want to see all the details in one form. I had implemented MDI but they want something like tabs. On different tabs different forms should be displayed. How shall I implement this.
View 4 RepliesHow can I change the background of my form to look like that of Windows Mobility Center in Windows Vista?
View 2 RepliesIt is possible to create windows service using windows form control in vb.net. give me the url or links. The windows forms control such as, Timer control, list-box, notify-icon control etc.
View 1 RepliesI have seen this happen before but am not sure how I resolved it in the past. On runtime the controls of my form change from the windows 7/vista format to an older version format as shown in the attached image.
How to display the controls in the format on the left (new windows format)
i am doing project of Order Accepting system for five star hotels.Scenario is Waiter will accept order using Window Mobile which is Connected to WiFi present in hotel.I want to communicate to database(Sql Server) present on My Machine (Computer present in kitchen) through WiFi and Add order into table present inside database. This should notify my application present on Compter and should print order. After completion of Order Application from kitchen will notify to waiter about completion. My problem is How to Communicate with database present on Remote computer using WiFi from windows Mobile.
View 2 RepliesIt is possible to create windows service using windows form control in vb.net.If yes then please give me the url or links.
View 1 RepliesSo i am having a bit of a problem.. What i want is for my application to show the panel in the from to display a windows explorer selection.. Look here
You see the panel 2 in here... Well the panel 2 needs to display this...
Is this possible you know like with a library or an extension or something.. Or do i need to make my own System for viewing files..???
It is possible to create windows service using windows form control in vb.net. The windows forms control such as, Timer control, list-box, notify-icon control etc.
View 2 RepliesI'm trying to move a windows form app to a windows mobile 5 device and I was able to get every thing working except this piece of code.
[Code]...
Is there a way in which I could invoke a windows form from a particular windows service....??
Have created a windows service, installed it and everything is working fine... Now I want to design another windows form that I would call from the service while running it I know that with the help of ServiceController class we could interact with windows service from a windows application but am not sure of the other way round implementation....