How To Lock Screen
Dec 15, 2011VB.net how to lock a computer screen using a form
View 3 RepliesVB.net how to lock a computer screen using a form
View 3 RepliesBut not my application.A app i use refuses to be brought forward, so wondered if there was a way for a vb app to run in the bg that can force a specified application to stay on top, & even maybe set its screen position and lock it there???
View 6 RepliesI thought of something quite cool i would like to try. Would it be possible to revert the mouse and the screen, so when you mouse your mouse up, the arrow stays still but the desktop moves towards it.
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
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 make a program which lock the computer screen until user enter the correct Password what will i have to make this application and how i can do this
View 14 RepliesI want to disallow changes to two comboboxes unless the user first clicks a LOCK symbol on the screen. I pop a Y or N into the tag of the picture box when they click it...I've got this - combobox is called LanguageTo
Private Sub LanguageTo_Enter(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles LanguageTo.Enter
If Me.languageLock.Tag.ToString = "Y" Then
MessageBox.Show("Click LOCK symbol to allow changes to the Language Pair!", "Language is Locked!", MessageBoxButtons.OK, MessageBoxIcon.Exclamation)
[code]....
How do I "cancel" the attempt to change that combobox?I don't want to ENABLE=FALSE the combobox - as I don't want it's image to visually change. I want to allow them to attempt the change and then abort it if they didn't unlock first.
BTW this issue occurs in any MS office program when the VB.Net (or even VBA) is processing information.Example: In Excel, a worksheet is displayed on the screen. I start either, a VB.Net or VBA procedure and within 30 seconds the Excel worksheet (previously displayed) blanks out. In both VB.Net and VBA,ScreenUpdating = False. My expectation is that the previously displayed screen would stay static as if I left my desk to get a cup of coffee; came back and the same ole Excel worksheet was still there?Of course, setting VBA Screen Updating = False accomplishes two goals: 1) speeds up processing and 2) saves the user from seeing unnecessary "garbage-processing" steps.Why does VBA or VB.Net ScreenUpdating = False not freeze the screen at the time of its invoking?
View 11 RepliesCurrently I have the following VB.NET code to make a screenshot of my desktop, but it only takes a picture of the active screen:
Public Function SaveScreen(ByVal theFile As String) As Boolean
Try
SendKeys.Send("%{PRTSC}")[code].....
The following code is how I execute the above function, if it makes any difference, which I don't think it does:
SaveScreen("C:Lexer_tracescreen.png")
Now, I need to be able to take a picture of the entire screen, not just the focused window.
Now I'm creating at app in VB (Microsoft's, Visual Basic 2010) which will be in full screen but I want to know if I can put all my content in the centre of the screen. At the moment it's at the far top, left of the screen. When the screen size varies I want it will stay in the middle for all shapes and sizes. Like :
<div style="margin: 0 auto; width: 500px;"></div>
But this is for web pages using HTML and CSS.
I'm trying to get coordinates on my screen by holding down my mouse and placing it over different parts of the screen. I'm using the mouse_up and down events in a button to kinda simulate the mouse being held down. The problem I'm running into is that anytime I go past the button's bounds, the coordinates I want stop. This is what I have so far:
[Code]...
Sometimes when updating the entire screen or moving around controls etc, there is some fairly bad screen flickering.
View 2 RepliesI have created a GUI and have set my 'Form1' window to match that of my PC monitor ( 1280x1024 ). However when i move the project to work on my netbook, the screen on my netbook is only 1024x600 and half my GUI is missing. Is there any way i can adjust my settings so that my 'Form1' GUI will auto adjust and display in full on both screen when i move the project back and forth?
View 2 RepliesI'm coding a splash screen in VB.Net that displays for 3 seconds then shows a login screen. But the splash shows up even when login shows and I have told the splash to hide. Here is my code:
[code]...
I send a message a while ago and no one answerd, how can I draw directly on the screen (not on a specific window) just on the screen, neither if it's on the desktop or anything else.Is there is any option to bring up the switch between applications window (Alt + Tab), I don't want to use sendkeys because the user need to keep the key down and I just want the user to select the application with his mouse.
View 3 Repliesim about to develop a small appliacation for a bet system, which needs 6 screens, each screen will be a touch screen for each client... the application will be running in one computer only just with 6 screens. my question is does anyone knows how to control each screen separately?. somethign that would allow me to output each forms in different screens would work fine.
View 2 RepliesI am making a program that will put a black mask over an application (like a full screened game). This black mask will fade in and out, depending on certain criteria. Is there a way I can do that with VB? It's to help me dim my monitor without having to push anything.
View 3 RepliesI wanted to make a screen recorder (not screen capture) program, but I am not entirely sure how to get it started. I have seen many videos and things on how to make one, but all of these just take multiple pictures and then don't compile them into a movie file, and I don't want to take many pictures (unless that is the only way possible.) I am using Visual Basic 2010 Express and I have looked at the Windows Media Encoder, but I can't seem to figure out how to use/implement it (yes, I have downloaded and installed it.) Maybe I can use some kind of ActiveX control?
View 3 RepliesIn my project is a form called "Secondary". It is suppose to appear on any and all screens (if any) other than the primary screen. The following code seems pretty logical to me, but Secondary is not appearing on any screen.
[Code]...
How can I get my screensaver to fill the whole screen. it has in the past but, just quit working several months ago. I have Windows Vista
View 1 RepliesI have a button btnRegEx that when pressed shows a ContextMenuStrip, similar to the '>' button in the Find/Replace dialog in Visual Studio when you are using Regular Expressions. I have a ContextMenuStrip cms which I show using its Show(x,y) method.
At first I was simply setting x and y (the location of the ContextMenuStrip) to some point next to the button, but I noticed that when the button is close to the edge of the screen it goes off screen. I wanted to prevent that so I built some logic into the x-y calculation. When the ContextMenuStrip width is larger than the 'remaining space left' I simply show it more to the left. Same for its Height of course. I am using the Screen.GetWorkingArea(point) method to determine the 'remaining space left'. As I understand it, it returns the working area closest to the point you specify (to which I pass the button's location).
As long as I stay on my first monitor, it is all working perfectly fine. The problem occurs when I move the form to my second monitor. The contextmenustrip is still showing on the first monitor for some reason...
Here is the code I am using:
vb.net Private Sub btnRegEx_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnRegEx.Click
Dim p As Point = PointToScreen(New Point(btnRegEx.Left, btnRegEx.Top))
Dim x, y As Integer
[CODE]...
I have noticed that when I click the button when the form is on the second monitor, the buttons location (p) is calculated with the first monitor's top-left corner as (0,0), even though it is on the second monitor. This way, the GetWorkingArea function returns something like 1280, while the buttons x-location is something like 1700... So, how do I get the buttons coordinate relative to the actual screen it is on, rather than the entire dual monitor screens as a whole?
I am in a dual monitor environment. I have developed an application using VB.NET 2005.When I start my application, the splash screen always displays on the monitor where the mouse cursor is at, even if it is not the same monitor that the login and primary form open on.
View 3 RepliesVB.net / VisualStudio8 I have an application I've written that's been very stable. I had it set to exactly 1024x768 resolution, and to windowsstate=maximize (I think that's what it's always been).
I recently started coding to give the user the option to use the 1024x768 or to have the program detect the max size of the screen and use it.
That part works great... I'm using:
Dim MonitorWidth = Screen.PrimaryScreen.Bounds.Width
Dim MonitorHeight = Screen.PrimaryScreen.Bounds.Height
Me.Height = MonitorHeight
Me.Width = MonitorWidth
What I'm baffled by is that the application now won't get off the max screen size. It's using the max of the screen, even when I do not call the screen resizing code above. I'm trying to give the user the option of the application only taking up 1024x768 (and placed up to the top left) or maximizing the application using the full extents of the screen.
Is there any way to invert the screen. For example, making upside down or having mirror effect?
View 1 RepliesI have a webpage developed using VB.net when i run the webpage in different screen resolution i see some blankspace left in the right side corner of the screen(webpage).
want to know the solution to make the screen look fit in all screen resolutions..
if there was a way to print screen certain dimensions of the screen. Like if I were to assign a short cut(F2) in the menustrip and it was to print screen those dimensions.
View 2 RepliesIs there analogue of lock statement from c# in vb.net?
View 3 RepliesBasically,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 RepliesHow do I lock a row in MySQL and then only allow the app that locked it to change the values of that row?
View 7 Replies