Set Its Screen Position And Lock It There?
Oct 14, 2010
But 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 Replies
ADVERTISEMENT
Jun 22, 2010
I need to lock label position. so, my label can't move at all.. now, i'm using label1.Enabled = False.. but, my label.forecolor become gray..
View 7 Replies
Dec 15, 2011
VB.net how to lock a computer screen using a form
View 3 Replies
May 29, 2009
I 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
Dec 28, 2010
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
View 2 Replies
Feb 1, 2011
Is it possible to lock the screen from your app in wp7?
View 1 Replies
Feb 25, 2012
How 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 Replies
Jan 22, 2010
i 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 Replies
Jan 31, 2009
I 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.
View 2 Replies
Jan 28, 2010
Is there a way to set the forms Z position on the screen?
View 3 Replies
Jul 13, 2011
Is there some way of setting anther process's position? Lets say we had our vb program up and you click a button, could this button set the position of Google Chrome to the top left corner?
View 1 Replies
Mar 31, 2010
I want to get the Iconimage and the Position of all the Icons on my Screen. How is that Possible?I found that: http:[url].....Topic, but its C# and the C#-Vb Converter dies while converting,
View 6 Replies
Sep 22, 2009
A simple example is: lets say that im trying to make a program that allows you to move the mouse only with the arrows (left/right/up/down) how can i change the position of the mouse on the screen programmatically? If i wanted when you press a button the mouse to change position to X=0,Y=0 of the hole screen/desktop not the window of the form how can i do it? [Code]
View 5 Replies
Nov 3, 2010
how can I make load "DXSETUP.exe" at center screen position using this code?
Private Sub Panel3_MouseClick(ByVal sender As System.Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles Panel3.MouseClick
Try
[Code]....
View 12 Replies
Feb 11, 2010
Is there a way to get the color at a certain mouse position in the active window? I remember doing it with AutoIt Script, but I can't find any references for it in vb?
View 6 Replies
Apr 16, 2011
I have this code working fine , it takes pictures of the correct size and correct file name , however , all the pictures it takes are in the top left corner of the screen , rather than where i have the form to. FYI the picture box in the middle has no picture in it , and is transparent , i want to save a bitmap of the contents of the picturebox ( a user defined size of the screen). The picture box and button are docked so that the form scales properly when being resized.
[Code]....
View 4 Replies
Oct 11, 2011
how i can set screen position for control(Like Button)?
*I'm talking about position(screen), not about location
View 6 Replies
Aug 11, 2010
I'm trying to move the mouse pointer to a certain position on the screen.I've done the declarations for both the SetCursorPos as well as the mouse_event, however I keep getting a Declaration expected error at this line: SetCursorPos(x,y),Perhaps something is wrong with the project or vb as well, cause I used an other declaration as well and when I wanted to use that I also got a Declaration expected error.[code]....
View 2 Replies
Feb 15, 2012
I have now had two occurances of (different) users "losing" their frm position. I save the position to my.settings in the formClosing event ... and this is the only place that these values are set. When the users loaded the form the first time it worked just fine. At some later point the for got repositioned to -32000 (top) and -32000 (left). I now check for this and reposition the form when it is not on the monitor, but I'd like to understand what causes this. I'm using VS2010 and compiling against .net 3.5
Is the formClosing the wrong place to put the logic to save the settings?
View 18 Replies
Aug 14, 2009
I am currently trying to read out my absolute cursor position on the screen. I read some threads in the "Legacy Visual Basic (VB 4/5/6)" Forums but this is as far as I get:
[Code]...
View 11 Replies
Aug 16, 2009
Is it any way to make my program start in the lower right of the users screen? Above the clock you know.
View 4 Replies
Sep 3, 2008
I have a ScreenCapture class that allows me to capture the content of the screen by specifying a X Y value of the top left and X Y value of the bottom right corner of a rectangle. This all works fine, however the problem that I have is that I want to capture the content of a panel on a form, the panel obviously has a location X and Y which gives me the top left position and I can use the width and height propoerty of the panel to determine the bottom right position. The problem that I have is this obviously gives me location of the panel on the form and not the screen. The other problem that I have is that this form is a MidiChild for another form.
So basically what I want to know is how can I get the location of the panel but as a screen position?
View 3 Replies
Dec 4, 2009
How can I position a form at the bottom right corner of the screen when the form load?
I use visual basic 2010 express
here;
Dim x As Integer
Dim y As Integer
x = Screen.PrimaryScreen.WorkingArea.Width - 400
[Code]....
View 3 Replies
Nov 8, 2011
I have my main form which will have the option to hide itself and open up a mini version. I would like this mini version to start at the top-right of the users screen.I have went through other posts and understand that you can set distance from top-left.
View 9 Replies
Jun 29, 2011
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 Replies
Aug 24, 2009
I have looking for a tutorial or class that demonstrates more than a trivial example of saving a windows position on closing. The ones I have found don't seem to work on all systems because of:
1. Multiple monitors. (and resolution between those monitors)
2. Toolbar size and position (toolbar is only on the primary monitor, well sometimes)
3. Sometimes the programs dont open on the right monitor they were closed on.
Is there an extensive class or tutorial on all the stuff a programmer needs to get right to have a window size and position persisted between executions?
View 1 Replies
Dec 5, 2010
I am using the following code to populate data in Textbox1:
[Code]...
I have few functions assigned in TextBox1_TextChanged event. The problem i am facing is this event is fired twice, once after the Fill command and another after the Position command whereas i want the event to fire only once after the Position command. What should i do?
View 6 Replies
Mar 9, 2010
I also have a function that returns ALL tiles on the map and they're X, Y position. How could I find out which one is closest to the position I specify? I can't figure out how to go about it. how to implement it with this. Heres a MADE UP example if what I'm trying to do:
Dim MyPosition as New Position()
MyPosition.X = 400
MyPosition.Y = 400
Dim tList as New List(Of Tile) = MyMap.GetTiles
Now, I can already do the stuff above, but what I need to make is something like this:
tList.GetTileClosestToPosition(MyPosition)
View 2 Replies
Jul 6, 2011
Currently 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.
View 4 Replies
Feb 2, 2012
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.
View 1 Replies